|
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 | | - "packageRules": [ |
| 5 | + semanticCommits: 'enabled', |
| 6 | + configMigration: true, |
| 7 | + dependencyDashboard: true, |
| 8 | + regexManagers: [ |
| 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', |
| 25 | + }, |
| 26 | + ], |
| 27 | + packageRules: [ |
| 28 | + { |
| 29 | + commitMessageTopic: 'MSRV', |
| 30 | + matchManagers: [ |
| 31 | + 'regex', |
| 32 | + ], |
| 33 | + matchPackageNames: [ |
| 34 | + 'rust', |
| 35 | + ], |
| 36 | + minimumReleaseAge: "126 days", // 3 releases * 6 weeks per release * 7 days per week |
| 37 | + internalChecksFilter: "strict", |
| 38 | + }, |
8 | 39 | // Goals: |
9 | 40 | // - Keep version reqs low, ignoring compatible normal/build dependencies |
10 | 41 | // - Take advantage of latest dev-dependencies |
11 | 42 | // - Rollup safe upgrades to reduce CI runner load |
12 | 43 | // - Help keep number of versions down by always using latest breaking change |
13 | 44 | // - Have lockfile and manifest in-sync |
14 | 45 | { |
15 | | - "matchManagers": ["cargo"], |
16 | | - "matchDepTypes": ["build-dependencies", "dependencies"], |
17 | | - "matchCurrentVersion": ">=0.1.0", |
18 | | - "matchUpdateTypes": ["patch"], |
19 | | - "enabled": false, |
| 46 | + matchManagers: [ |
| 47 | + 'cargo', |
| 48 | + ], |
| 49 | + matchDepTypes: [ |
| 50 | + 'build-dependencies', |
| 51 | + 'dependencies', |
| 52 | + ], |
| 53 | + matchCurrentVersion: '>=0.1.0', |
| 54 | + matchUpdateTypes: [ |
| 55 | + 'patch', |
| 56 | + ], |
| 57 | + enabled: false, |
20 | 58 | }, |
21 | 59 | { |
22 | | - "matchManagers": ["cargo"], |
23 | | - "matchDepTypes": ["build-dependencies", "dependencies"], |
24 | | - "matchCurrentVersion": ">=1.0.0", |
25 | | - "matchUpdateTypes": ["minor"], |
26 | | - "enabled": false, |
| 60 | + matchManagers: [ |
| 61 | + 'cargo', |
| 62 | + ], |
| 63 | + matchDepTypes: [ |
| 64 | + 'build-dependencies', |
| 65 | + 'dependencies', |
| 66 | + ], |
| 67 | + matchCurrentVersion: '>=1.0.0', |
| 68 | + matchUpdateTypes: [ |
| 69 | + 'minor', |
| 70 | + ], |
| 71 | + enabled: false, |
27 | 72 | }, |
28 | 73 | { |
29 | | - "matchManagers": ["cargo"], |
30 | | - "matchDepTypes": ["dev-dependencies"], |
31 | | - "matchCurrentVersion": ">=0.1.0", |
32 | | - "matchUpdateTypes": ["patch"], |
33 | | - "automerge": true, |
34 | | - "groupName": "compatible (dev)", |
| 74 | + matchManagers: [ |
| 75 | + 'cargo', |
| 76 | + ], |
| 77 | + matchDepTypes: [ |
| 78 | + 'dev-dependencies', |
| 79 | + ], |
| 80 | + matchCurrentVersion: '>=0.1.0', |
| 81 | + matchUpdateTypes: [ |
| 82 | + 'patch', |
| 83 | + ], |
| 84 | + automerge: true, |
| 85 | + groupName: 'compatible (dev)', |
35 | 86 | }, |
36 | 87 | { |
37 | | - "matchManagers": ["cargo"], |
38 | | - "matchDepTypes": ["dev-dependencies"], |
39 | | - "matchCurrentVersion": ">=1.0.0", |
40 | | - "matchUpdateTypes": ["minor"], |
41 | | - "automerge": true, |
42 | | - "groupName": "compatible (dev)", |
| 88 | + matchManagers: [ |
| 89 | + 'cargo', |
| 90 | + ], |
| 91 | + matchDepTypes: [ |
| 92 | + 'dev-dependencies', |
| 93 | + ], |
| 94 | + matchCurrentVersion: '>=1.0.0', |
| 95 | + matchUpdateTypes: [ |
| 96 | + 'minor', |
| 97 | + ], |
| 98 | + automerge: true, |
| 99 | + groupName: 'compatible (dev)', |
43 | 100 | }, |
44 | 101 | ], |
45 | 102 | } |
0 commit comments