Skip to content

Commit 3fd7ee0

Browse files
committed
chore: Automate updating of MSRV
1 parent 343ca58 commit 3fd7ee0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/renovate.json5

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

0 commit comments

Comments
 (0)