diff --git a/.github/renovate.json5 b/.github/renovate.json5 index ccde026cc225..5a789790fe3a 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -5,7 +5,29 @@ semanticCommits: 'enabled', configMigration: true, dependencyDashboard: false, + regexManagers: [ + { + fileMatch: [ + '^Cargo.toml$', + ], + matchStrings: [ + 'rust-version.*?(?\\d+\\.\\d+(\\.\\d+)?)', + ], + depNameTemplate: 'msrv', + packageNameTemplate: 'rust-lang/rust', + datasourceTemplate: 'github-releases', + }, + ], packageRules: [ + { + commitMessageTopic: 'MSRV', + matchManagers: [ + 'regex', + ], + matchPackageNames: [ + 'msrv', + ], + }, // Goals: // - Rollup safe upgrades to reduce CI runner load // - Have lockfile and manifest in-sync (implicit rules)