Skip to content

Commit e82fd60

Browse files
authored
chore: lint renovate config (#57)
Signed-off-by: Niccolò Fei <[email protected]>
1 parent 57f3384 commit e82fd60

File tree

1 file changed

+26
-39
lines changed

1 file changed

+26
-39
lines changed

renovate.json

Lines changed: 26 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,32 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:base"
5-
],
3+
"extends": ["config:recommended"],
64
"prConcurrentLimit": 5,
75
"semanticCommits": "enabled",
8-
"regexManagers": [
9-
{
10-
// We want a PR to bump kind version
11-
"fileMatch": [
12-
"^.github/workflows/run-e2e.yml"
13-
],
14-
"matchStrings": [
15-
"KIND_VERSION: \"(?<currentValue>.*?)\""
16-
],
17-
"datasourceTemplate": "github-tags",
18-
"depNameTemplate": "kubernetes-sigs/kind"
19-
}, {
20-
// We want a PR to bump kind node version
21-
"fileMatch": [
22-
"^.github/workflows/run-e2e.yml"
23-
],
24-
"matchStrings": [
25-
"K8S_VERSION: \"(?<currentValue>.*?)\""
26-
],
27-
"datasourceTemplate": "docker",
28-
"versioningTemplate": "loose",
29-
"depNameTemplate": "kindest/node"
30-
}, {
31-
// We want a PR to bump Go versions used through env variables in any GitHub
32-
// Actions, taking it from the official GitHub repository.
33-
"fileMatch": [
34-
"^\\.github\\/workflows\\/[^/]+\\.ya?ml$"
35-
],
36-
"matchStrings": [
37-
"GOLANG_VERSION: \"(?<currentValue>.*?)\\.x\"",
38-
],
39-
"datasourceTemplate": "golang-version",
40-
"depNameTemplate": "golang",
41-
"versioningTemplate": "loose",
42-
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+)"
43-
}
6+
"customManagers": [
7+
{
8+
"customType": "regex",
9+
"fileMatch": ["^.github/workflows/run-e2e.yml"],
10+
"matchStrings": ["KIND_VERSION: \"(?<currentValue>.*?)\""],
11+
"datasourceTemplate": "github-tags",
12+
"depNameTemplate": "kubernetes-sigs/kind"
13+
},
14+
{
15+
"customType": "regex",
16+
"fileMatch": ["^.github/workflows/run-e2e.yml"],
17+
"matchStrings": ["K8S_VERSION: \"(?<currentValue>.*?)\""],
18+
"datasourceTemplate": "docker",
19+
"versioningTemplate": "loose",
20+
"depNameTemplate": "kindest/node"
21+
},
22+
{
23+
"customType": "regex",
24+
"fileMatch": ["^\\.github\\/workflows\\/[^/]+\\.ya?ml$"],
25+
"matchStrings": ["GOLANG_VERSION: \"(?<currentValue>.*?)\\.x\""],
26+
"datasourceTemplate": "golang-version",
27+
"depNameTemplate": "golang",
28+
"versioningTemplate": "loose",
29+
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+)"
30+
}
4431
]
4532
}

0 commit comments

Comments
 (0)