Skip to content

Commit 0b36b15

Browse files
committed
chore: Automate updating of MSRV
1 parent 369ab82 commit 0b36b15

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/renovate.json5

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,29 @@
88
ignorePaths: [
99
"**/tests/**",
1010
],
11+
regexManagers: [
12+
{
13+
fileMatch: [
14+
'^Cargo.toml$',
15+
],
16+
matchStrings: [
17+
'rust-version.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
18+
],
19+
depNameTemplate: 'msrv',
20+
packageNameTemplate: 'rust-lang/rust',
21+
datasourceTemplate: 'github-releases',
22+
},
23+
],
1124
packageRules: [
25+
{
26+
commitMessageTopic: 'MSRV',
27+
matchManagers: [
28+
'regex',
29+
],
30+
matchPackageNames: [
31+
'msrv',
32+
],
33+
},
1234
// Goals:
1335
// - Rollup safe upgrades to reduce CI runner load
1436
// - Have lockfile and manifest in-sync (implicit rules)

0 commit comments

Comments
 (0)