-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrenovate.json5
More file actions
59 lines (59 loc) · 2.05 KB
/
renovate.json5
File metadata and controls
59 lines (59 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
extends: [
"github>cloudquery/.github//.github/renovate-go-default.json5",
"github>cloudquery/.github//.github/renovate-node-default.json5",
],
customManagers: [
{
// CLI version in README.md code example
customType: "regex",
fileMatch: ["^README\\.md$"],
matchStrings: [
"cloudquery/setup\\-cloudquery[\\s\\S]+?version\\:\\s+['\"]?(?<currentValue>[^'\"\\s]+)['\"]?",
],
packageNameTemplate: "cloudquery/cloudquery",
depNameTemplate: "cli",
datasourceTemplate: "github-releases",
extractVersionTemplate: "^cli-(?<version>.+)$",
},
{
// CLI version in example_matrix.yml (uses: ./. with version: "v6.8.0")
customType: "regex",
fileMatch: ["^\\.github/workflows/example_matrix\\.yml$"],
matchStrings: [
"version\\:\\s+[\"'](?<currentValue>[^\"']+)[\"']",
],
packageNameTemplate: "cloudquery/cloudquery",
depNameTemplate: "cli",
datasourceTemplate: "github-releases",
extractVersionTemplate: "^cli-(?<version>.+)$",
},
{
// CLI version without v prefix in example.yml (label: without-v-prefix)
customType: "regex",
fileMatch: ["^\\.github/workflows/example\\.yml$"],
matchStrings: [
"without-v-prefix[\\s\\S]*?cloudquery-version\\:\\s+\"(?<currentValue>[^\"]+)\"",
],
packageNameTemplate: "cloudquery/cloudquery",
depNameTemplate: "cli-no-v",
datasourceTemplate: "github-releases",
extractVersionTemplate: "^cli-v(?<version>.+)$",
},
{
// CLI version with v prefix in example.yml (label: with-v-prefix)
customType: "regex",
fileMatch: ["^\\.github/workflows/example\\.yml$"],
matchStrings: [
"with-v-prefix[\\s\\S]*?cloudquery-version\\:\\s+\"(?<currentValue>[^\"]+)\"",
],
packageNameTemplate: "cloudquery/cloudquery",
depNameTemplate: "cli",
datasourceTemplate: "github-releases",
extractVersionTemplate: "^cli-(?<version>.+)$",
},
],
"github-actions": {
fileMatch: ["^README\\.md$"],
},
}