File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
credential/cargo-credential Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 2222 packageNameTemplate : 'rust-lang/rust' ,
2323 datasourceTemplate : 'github-releases' ,
2424 } ,
25+ {
26+ customType : 'regex' ,
27+ fileMatch : [
28+ 'Cargo.toml$' ,
29+ ] ,
30+ matchStrings : [
31+ '\bMSRV:3\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)' ,
32+ '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\bMSRV:3\b' ,
33+ ] ,
34+ depNameTemplate : 'MSRV:3' , // Support 3 versions of rustc
35+ packageNameTemplate : 'rust-lang/rust' ,
36+ datasourceTemplate : 'github-releases' ,
37+ } ,
2538 ] ,
2639 packageRules : [
2740 {
3245 matchPackageNames : [
3346 'MSRV:1' ,
3447 ] ,
48+ schedule : [
49+ '* * * * *' ,
50+ ] ,
51+ groupName : 'msrv' ,
52+ } ,
53+ {
54+ commitMessageTopic : 'MSRV (3 versions)' ,
55+ matchManagers : [
56+ 'regex' ,
57+ ] ,
58+ matchPackageNames : [
59+ 'MSRV:3' ,
60+ ] ,
3561 "extractVersion" : "^(?<version>\\d+\\.\\d+)" , // Drop the patch version
3662 schedule : [
3763 '* * * * *' ,
3864 ] ,
65+ minimumReleaseAge : '85 days' , // 2 releases back * 6 weeks per release * 7 days per week + 1
66+ internalChecksFilter : 'strict' ,
67+ groupName : 'msrv' ,
3968 } ,
4069 // Goals:
4170 // - Rollup safe upgrades to reduce CI runner load
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "cargo-credential"
33version = " 0.4.0"
44edition.workspace = true
55license.workspace = true
6- rust-version = " 1.70.0"
6+ rust-version = " 1.70.0" # MSRV:3
77repository = " https://github.com/rust-lang/cargo"
88description = " A library to assist writing Cargo credential helpers."
99
You can’t perform that action at this time.
0 commit comments