Skip to content

Commit cc35f09

Browse files
authored
Renovate per crate updates (#1241)
The renovate pull requests are [getting out of control](#1208). This change splits up the pull requests to be per-crate rather than to be one big one for the whole project. Each individual crate will tag the respective code owners of that crate for review. This will result in more, but better scoped pull requests which can hopefully be more easily merged outright rather than one massive almost always broken pull request which needs human / LLM fixing before merging.
1 parent ce46ae0 commit cc35f09

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

renovate.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
"minimumReleaseAge": "2 weeks",
55
"commitBody": "Generated by renovateBot",
66
"schedule": ["before 9am on the first day of the month"],
7+
"reviewersFromCodeOwners": true,
78
"packageRules": [
89
{
910
"matchManagers": ["github-actions"],
1011
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
1112
"groupName": "github actions"
1213
},
13-
{
14-
"matchManagers": ["cargo"],
15-
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
16-
"groupName": "cargo dependencies"
17-
},
1814
{
1915
"matchManagers": ["npm"],
2016
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
@@ -29,6 +25,19 @@
2925
"matchManagers": ["gradle", "gradle-wrapper"],
3026
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
3127
"groupName": "gradle dependencies"
28+
},
29+
{
30+
"description": "Split cargo updates into one PR per crate (per package-file directory) so PRs stay small and only tag the relevant codeowners.",
31+
"matchManagers": ["cargo"],
32+
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
33+
"groupName": "cargo dependencies ({{{packageFileDir}}})"
34+
},
35+
{
36+
"description": "Updates to the root workspace manifest (shared [workspace.dependencies]) get their own PR.",
37+
"matchManagers": ["cargo"],
38+
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
39+
"matchFileNames": ["Cargo.toml"],
40+
"groupName": "cargo workspace dependencies"
3241
}
3342
]
3443
}

0 commit comments

Comments
 (0)