Skip to content

Commit 4163ad7

Browse files
committed
style(ci): Match auto-generated style
This will make reviewing auto-update PRs easier
1 parent f7b990b commit 4163ad7

File tree

1 file changed

+78
-48
lines changed

1 file changed

+78
-48
lines changed

.github/renovate.json5

Lines changed: 78 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,39 @@
11
{
2-
"schedule": [
3-
"before 3am on the first day of the month"
2+
schedule: [
3+
'before 3am on the first day of the month'
44
],
5-
"semanticCommits": "enabled",
6-
"configMigration": true,
7-
"dependencyDashboard": true,
8-
"regexManagers": [
5+
semanticCommits: 'enabled',
6+
configMigration: true,
7+
dependencyDashboard: true,
8+
regexManagers: [
99
{
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',
2525
}
2626
],
27-
"packageRules": [
27+
packageRules: [
2828
{
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
3337
},
3438
// Goals:
3539
// - Keep version reqs low, ignoring compatible normal/build dependencies
@@ -38,34 +42,60 @@
3842
// - Help keep number of versions down by always using latest breaking change
3943
// - Have lockfile and manifest in-sync
4044
{
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,
4657
},
4758
{
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,
5371
},
5472
{
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)',
6185
},
6286
{
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)',
6999
},
70100
],
71101
}

0 commit comments

Comments
 (0)