Skip to content

Commit b7e2473

Browse files
committed
chore: Automate updating of MSRV
1 parent f1cfa06 commit b7e2473

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/renovate.json5

+22
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,29 @@
55
semanticCommits: 'enabled',
66
configMigration: true,
77
dependencyDashboard: false,
8+
regexManagers: [
9+
{
10+
fileMatch: [
11+
'^Cargo.toml$',
12+
],
13+
matchStrings: [
14+
'rust-version.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
15+
],
16+
depNameTemplate: 'msrv',
17+
packageNameTemplate: 'rust-lang/rust',
18+
datasourceTemplate: 'github-releases',
19+
},
20+
],
821
packageRules: [
22+
{
23+
commitMessageTopic: 'MSRV',
24+
matchManagers: [
25+
'regex',
26+
],
27+
matchPackageNames: [
28+
'msrv',
29+
],
30+
},
931
// Goals:
1032
// - Rollup safe upgrades to reduce CI runner load
1133
// - Have lockfile and manifest in-sync (implicit rules)

0 commit comments

Comments
 (0)