Skip to content

Commit 21b2d13

Browse files
authored
chore: Configure renovate to group gomod updates in a single PR. (#628)
This will make sure that Renovate puts all the dependency updates in a single PR, rather than 1 per dependency.
1 parent 6995aa0 commit 21b2d13

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/renovate.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"ignorePresets": [
88
":semanticPrefixFixDepsChoreOthers"
99
],
10+
"commitMessagePrefix": "deps: ",
1011
"prConcurrentLimit": 0,
1112
"rebaseWhen": "behind-base-branch",
1213
"dependencyDashboard": true,
@@ -23,12 +24,6 @@
2324
],
2425
"enabled": false
2526
},
26-
{
27-
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
28-
"automerge": true,
29-
"automergeType": "pr",
30-
"automergeStrategy": "rebase"
31-
},
3227
{
3328
"matchManagers": ["github-actions"],
3429
"groupName": "Github action dependencies"
@@ -51,6 +46,15 @@
5146
"^hashicorp/terraform"
5247
],
5348
"groupName": "Build Tools"
49+
},
50+
{
51+
"groupName": "Non-major go dependency updates",
52+
"matchManagers": ["gomod"],
53+
"matchUpdateTypes": ["minor", "patch"]
54+
},
55+
{
56+
"groupName": "Non-major other dependency updates",
57+
"matchUpdateTypes": ["minor", "patch", "pin", "digest"]
5458
}
5559
],
5660
"force": {

0 commit comments

Comments
 (0)