Skip to content

Commit

Permalink
chore: Automate updating of MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jul 19, 2023
1 parent 5037e11 commit 4284fa2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,29 @@
semanticCommits: 'enabled',
configMigration: true,
dependencyDashboard: false,
regexManagers: [
{
fileMatch: [
'^Cargo.toml$',
],
matchStrings: [
'rust-version.*?(?<currentValue>\\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)
Expand Down

0 comments on commit 4284fa2

Please sign in to comment.