Skip to content

Commit 5183d56

Browse files
authored
chore(ci): align renovate config with amp repository (#13)
Adopt the amp repository's renovate policy and dependency grouping, curated to the crates actually present in the ampup workspace. - Defer cargo patch bumps to the scheduled `lockFileMaintenance` PR by disabling per-patch update PRs - Add a `tokio-futures` group covering `tokio` and `futures` - Trim the `console-rs` group to `console` and `dialoguer` (drop `indicatif`, absent from the workspace) - Remove the `serde_yaml` ignore as the crate is not present in the dependency tree Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
1 parent 25c6cb3 commit 5183d56

1 file changed

Lines changed: 22 additions & 5 deletions

File tree

.github/renovate.json5

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,18 @@
2323
'github-actions',
2424
'custom.regex',
2525
],
26-
ignoreDeps: [
27-
// Ignore serde_yaml because it is marked as deprecated. No new releases will be made.
28-
'serde_yaml',
29-
],
3026
packageRules: [
27+
// Only open PRs for major and minor cargo updates. Patch bumps are left to
28+
// the scheduled lockFileMaintenance PR to avoid per-patch PR noise.
29+
{
30+
matchManagers: [
31+
'cargo',
32+
],
33+
matchUpdateTypes: [
34+
'patch',
35+
],
36+
enabled: false,
37+
},
3138
// Group console-rs terminal UI crates (must upgrade together for compatibility)
3239
{
3340
groupName: 'console-rs terminal UI',
@@ -36,10 +43,20 @@
3643
],
3744
matchPackageNames: [
3845
'/^console$/',
39-
'/^indicatif$/',
4046
'/^dialoguer$/',
4147
],
4248
},
49+
// Group the tokio crates with the futures-rs family.
50+
{
51+
groupName: 'tokio-futures',
52+
matchManagers: [
53+
'cargo',
54+
],
55+
matchPackageNames: [
56+
'/^tokio$/',
57+
'/^futures(-.*)?$/',
58+
],
59+
},
4360
],
4461
customManagers: [
4562
{

0 commit comments

Comments
 (0)