From e44e174b16a2220e170918692e17ecf1b31191da Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Mon, 22 Jun 2026 14:04:58 +0200 Subject: [PATCH] chore(ci): align renovate config with amp repository 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 --- .github/renovate.json5 | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 1ea7d2c..e441770 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -23,11 +23,18 @@ 'github-actions', 'custom.regex', ], - ignoreDeps: [ - // Ignore serde_yaml because it is marked as deprecated. No new releases will be made. - 'serde_yaml', - ], packageRules: [ + // Only open PRs for major and minor cargo updates. Patch bumps are left to + // the scheduled lockFileMaintenance PR to avoid per-patch PR noise. + { + matchManagers: [ + 'cargo', + ], + matchUpdateTypes: [ + 'patch', + ], + enabled: false, + }, // Group console-rs terminal UI crates (must upgrade together for compatibility) { groupName: 'console-rs terminal UI', @@ -36,10 +43,20 @@ ], matchPackageNames: [ '/^console$/', - '/^indicatif$/', '/^dialoguer$/', ], }, + // Group the tokio crates with the futures-rs family. + { + groupName: 'tokio-futures', + matchManagers: [ + 'cargo', + ], + matchPackageNames: [ + '/^tokio$/', + '/^futures(-.*)?$/', + ], + }, ], customManagers: [ {