Skip to content

Commit ccd453f

Browse files
authored
chore: Fix the order of renovate package rules. (#636)
According to renovate documentation, the list should be ordered so that low priority rules are at the beginning of the list and high priority rules are at end of the list. Renovate will put a dependency into the last matching group.
1 parent a8c5a1d commit ccd453f

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

.github/renovate.json

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,41 @@
77
"postUpdateOptions": [
88
"gomodTidy"
99
],
10-
"prConcurrentLimit": 5,
10+
"prConcurrentLimit": 8,
1111
"packageRules": [
1212
{
13-
"matchManagers": ["github-actions"],
14-
"groupName": "Github action dependencies"
13+
"matchManagers": ["dockerfile"],
14+
"groupName": "Container image updates"
1515
},
1616
{
17+
"groupName": "Go dependency updates",
18+
"matchManagers": ["gomod"],
19+
"matchUpdateTypes": ["minor", "patch", "pin", "digest"]
20+
},
21+
{
22+
"groupName": "Github Actions",
23+
"matchManagers": ["github-actions"]
24+
},
25+
{
26+
"groupName": "Build Tools",
1727
"matchPackagePatterns": [
1828
"^cert-manager/cert-manager",
1929
"^github.com/elastic/crd-ref-docs",
2030
"^google",
2131
"^google-beta",
2232
"^hashicorp/terraform"
2333
],
24-
"groupName": "Build Tools"
34+
"matchManagers": ["regex","terraform"]
2535
},
2636
{
37+
"groupName": "Kubernetes Runtime",
2738
"matchPackagePatterns": [
2839
"^kubernetes",
2940
"^k8s.io/client-go",
3041
"^sigs.k8s.io/controller-runtime",
3142
"^sigs.k8s.io/controller-tools"
3243
],
33-
"matchManagers": ["gomod"],
34-
"groupName": "Kubernetes runtime dependencies"
35-
},
36-
{
37-
"matchManagers": ["dockerfile"],
38-
"groupName": "Container image updates"
39-
},
40-
{
41-
"groupName": "Go dependency updates",
42-
"matchUpdateTypes": ["minor", "patch", "pin", "digest"]
43-
},
44-
{
45-
"groupName": "Other dependency updates",
46-
"matchUpdateTypes": ["minor", "patch", "pin", "digest"]
44+
"matchManagers": ["gomod","regex"]
4745
}
4846
],
4947
"regexManagers": [

0 commit comments

Comments
 (0)