File tree 2 files changed +30
-1
lines changed
credential/cargo-credential
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 22
22
packageNameTemplate : 'rust-lang/rust' ,
23
23
datasourceTemplate : 'github-releases' ,
24
24
} ,
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
+ } ,
25
38
] ,
26
39
packageRules : [
27
40
{
32
45
matchPackageNames : [
33
46
'MSRV:1' ,
34
47
] ,
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
+ ] ,
35
61
"extractVersion" : "^(?<version>\\d+\\.\\d+)" , // Drop the patch version
36
62
schedule : [
37
63
'* * * * *' ,
38
64
] ,
65
+ minimumReleaseAge : '85 days' , // 2 releases back * 6 weeks per release * 7 days per week + 1
66
+ internalChecksFilter : 'strict' ,
67
+ groupName : 'msrv' ,
39
68
} ,
40
69
// Goals:
41
70
// - 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"
3
3
version = " 0.4.0"
4
4
edition.workspace = true
5
5
license.workspace = true
6
- rust-version = " 1.70.0"
6
+ rust-version = " 1.70.0" # MSRV:3
7
7
repository = " https://github.com/rust-lang/cargo"
8
8
description = " A library to assist writing Cargo credential helpers."
9
9
You can’t perform that action at this time.
0 commit comments