|
1 | 1 | {
|
2 |
| - "schedule": [ |
3 |
| - "before 3am on the first day of the month" |
| 2 | + schedule: [ |
| 3 | + 'before 3am on the first day of the month' |
4 | 4 | ],
|
5 |
| - "semanticCommits": "enabled", |
6 |
| - "configMigration": true, |
7 |
| - "dependencyDashboard": true, |
8 |
| - "regexManagers": [ |
| 5 | + semanticCommits: 'enabled', |
| 6 | + configMigration: true, |
| 7 | + dependencyDashboard: true, |
| 8 | + regexManagers: [ |
9 | 9 | {
|
10 |
| - "fileMatch": [ |
11 |
| - "^rust-toolchain\\.toml$", |
12 |
| - "Cargo.toml$", |
13 |
| - "clippy.toml$", |
14 |
| - "\\.clippy.toml$", |
15 |
| - "^\\.github/workflows/ci.yml$", |
16 |
| - "^\\.github/workflows/rust-next.yml$", |
17 |
| - ], |
18 |
| - "matchStrings": [ |
19 |
| - "MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)", |
20 |
| - "(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV", |
21 |
| - ], |
22 |
| - "depNameTemplate": "rust", |
23 |
| - "packageNameTemplate": "rust-lang/rust", |
24 |
| - "datasourceTemplate": "github-releases", |
| 10 | + fileMatch: [ |
| 11 | + '^rust-toolchain\\.toml$', |
| 12 | + 'Cargo.toml$', |
| 13 | + 'clippy.toml$', |
| 14 | + '\\.clippy.toml$', |
| 15 | + '^\\.github/workflows/ci.yml$', |
| 16 | + '^\\.github/workflows/rust-next.yml$', |
| 17 | + ], |
| 18 | + matchStrings: [ |
| 19 | + 'MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)', |
| 20 | + '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV', |
| 21 | + ], |
| 22 | + depNameTemplate: 'rust', |
| 23 | + packageNameTemplate: 'rust-lang/rust', |
| 24 | + datasourceTemplate: 'github-releases', |
25 | 25 | }
|
26 | 26 | ],
|
27 |
| - "packageRules": [ |
| 27 | + packageRules: [ |
28 | 28 | {
|
29 |
| - "commitMessageTopic": "MSRV", |
30 |
| - "matchManagers": ["regex"], |
31 |
| - "matchPackageNames": ["rust"], |
32 |
| - "stabilityDays": 126, // 3 releases * 6 weeks per release * 7 days per week |
| 29 | + commitMessageTopic: 'MSRV', |
| 30 | + matchManagers: [ |
| 31 | + 'regex', |
| 32 | + ], |
| 33 | + matchPackageNames: [ |
| 34 | + 'rust', |
| 35 | + ], |
| 36 | + stabilityDays: 126, // 3 releases * 6 weeks per release * 7 days per week |
33 | 37 | },
|
34 | 38 | // Goals:
|
35 | 39 | // - Keep version reqs low, ignoring compatible normal/build dependencies
|
|
38 | 42 | // - Help keep number of versions down by always using latest breaking change
|
39 | 43 | // - Have lockfile and manifest in-sync
|
40 | 44 | {
|
41 |
| - "matchManagers": ["cargo"], |
42 |
| - "matchDepTypes": ["build-dependencies", "dependencies"], |
43 |
| - "matchCurrentVersion": ">=0.1.0", |
44 |
| - "matchUpdateTypes": ["patch"], |
45 |
| - "enabled": false, |
| 45 | + matchManagers: [ |
| 46 | + 'cargo', |
| 47 | + ], |
| 48 | + matchDepTypes: [ |
| 49 | + 'build-dependencies', |
| 50 | + 'dependencies', |
| 51 | + ], |
| 52 | + matchCurrentVersion: '>=0.1.0', |
| 53 | + matchUpdateTypes: [ |
| 54 | + 'patch', |
| 55 | + ], |
| 56 | + enabled: false, |
46 | 57 | },
|
47 | 58 | {
|
48 |
| - "matchManagers": ["cargo"], |
49 |
| - "matchDepTypes": ["build-dependencies", "dependencies"], |
50 |
| - "matchCurrentVersion": ">=1.0.0", |
51 |
| - "matchUpdateTypes": ["minor"], |
52 |
| - "enabled": false, |
| 59 | + matchManagers: [ |
| 60 | + 'cargo', |
| 61 | + ], |
| 62 | + matchDepTypes: [ |
| 63 | + 'build-dependencies', |
| 64 | + 'dependencies', |
| 65 | + ], |
| 66 | + matchCurrentVersion: '>=1.0.0', |
| 67 | + matchUpdateTypes: [ |
| 68 | + 'minor', |
| 69 | + ], |
| 70 | + enabled: false, |
53 | 71 | },
|
54 | 72 | {
|
55 |
| - "matchManagers": ["cargo"], |
56 |
| - "matchDepTypes": ["dev-dependencies"], |
57 |
| - "matchCurrentVersion": ">=0.1.0", |
58 |
| - "matchUpdateTypes": ["patch"], |
59 |
| - "automerge": true, |
60 |
| - "groupName": "compatible (dev)", |
| 73 | + matchManagers: [ |
| 74 | + 'cargo', |
| 75 | + ], |
| 76 | + matchDepTypes: [ |
| 77 | + 'dev-dependencies', |
| 78 | + ], |
| 79 | + matchCurrentVersion: '>=0.1.0', |
| 80 | + matchUpdateTypes: [ |
| 81 | + 'patch', |
| 82 | + ], |
| 83 | + automerge: true, |
| 84 | + groupName: 'compatible (dev)', |
61 | 85 | },
|
62 | 86 | {
|
63 |
| - "matchManagers": ["cargo"], |
64 |
| - "matchDepTypes": ["dev-dependencies"], |
65 |
| - "matchCurrentVersion": ">=1.0.0", |
66 |
| - "matchUpdateTypes": ["minor"], |
67 |
| - "automerge": true, |
68 |
| - "groupName": "compatible (dev)", |
| 87 | + matchManagers: [ |
| 88 | + 'cargo', |
| 89 | + ], |
| 90 | + matchDepTypes: [ |
| 91 | + 'dev-dependencies', |
| 92 | + ], |
| 93 | + matchCurrentVersion: '>=1.0.0', |
| 94 | + matchUpdateTypes: [ |
| 95 | + 'minor', |
| 96 | + ], |
| 97 | + automerge: true, |
| 98 | + groupName: 'compatible (dev)', |
69 | 99 | },
|
70 | 100 | ],
|
71 | 101 | }
|
0 commit comments