Skip to content

Commit 6a3a584

Browse files
authored
chore(config): migrate config .github/renovate.json5 (#94)
1 parent 82c6836 commit 6a3a584

File tree

1 file changed

+40
-38
lines changed

1 file changed

+40
-38
lines changed

.github/renovate.json5

Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,51 @@
11
{
2-
"extends": [
3-
"config:base", // https://docs.renovatebot.com/presets-config/#configbase
4-
":semanticCommits", // https://docs.renovatebot.com/presets-default/#semanticcommits
5-
":ignoreUnstable", // https://docs.renovatebot.com/presets-default/#ignoreunstable
6-
"group:allNonMajor", // https://docs.renovatebot.com/presets-group/#groupallnonmajor
7-
":separateMajorReleases", // https://docs.renovatebot.com/presets-default/#separatemajorreleases
8-
":prConcurrentLimitNone", // View complete backlog as PRs. https://docs.renovatebot.com/presets-default/#prconcurrentlimitnone
9-
":prHourlyLimitNone", // https://docs.renovatebot.com/presets-default/#prhourlylimitnone
10-
":preserveSemverRanges"
2+
extends: [
3+
'config:recommended',
4+
':semanticCommits',
5+
':ignoreUnstable',
6+
'group:allNonMajor',
7+
':separateMajorReleases',
8+
':prConcurrentLimitNone',
9+
':prHourlyLimitNone',
10+
':preserveSemverRanges',
1111
],
12-
13-
// Give ecosystem time to catch up.
14-
// npm allows maintainers to unpublish a release up to 3 days later.
15-
// https://docs.renovatebot.com/configuration-options/#minimumreleaseage
16-
"minimumReleaseAge": "3",
17-
18-
// Create PRs, but do not update them without manual action.
19-
// Reduces spurious retesting in repositories that have many PRs at a time.
20-
// https://docs.renovatebot.com/configuration-options/#rebasewhen
21-
"rebaseWhen": "conflicted",
22-
23-
// Organizational processes.
24-
// https://docs.renovatebot.com/configuration-options/#dependencydashboardlabels
25-
"dependencyDashboardLabels": [
26-
"type: process"
12+
minimumReleaseAge: '3',
13+
rebaseWhen: 'conflicted',
14+
dependencyDashboardLabels: [
15+
'type: process',
2716
],
28-
"packageRules": [
17+
packageRules: [
2918
{
30-
"groupName": "GitHub Actions",
31-
"matchManagers": ["github-actions"],
32-
"pinDigests": true
19+
groupName: 'GitHub Actions',
20+
matchManagers: [
21+
'github-actions',
22+
],
23+
pinDigests: true,
3324
},
34-
// Python Specific
3525
{
36-
"matchPackageNames": ["pytest"],
37-
"matchUpdateTypes": ["minor", "major"]
26+
matchPackageNames: [
27+
'pytest',
28+
],
29+
matchUpdateTypes: [
30+
'minor',
31+
'major',
32+
],
3833
},
3934
{
40-
"groupName": "python-nonmajor",
41-
"matchLanguages": ["python"],
42-
"matchUpdateTypes": ["minor", "patch"]
35+
groupName: 'python-nonmajor',
36+
matchCategories: [
37+
'python',
38+
],
39+
matchUpdateTypes: [
40+
'minor',
41+
'patch',
42+
],
4343
},
4444
{
45-
"groupName": "kokoro dependencies",
46-
"matchFileNames": [".kokoro/**"],
47-
}
48-
]
45+
groupName: 'kokoro dependencies',
46+
matchFileNames: [
47+
'.kokoro/**',
48+
],
49+
},
50+
],
4951
}

0 commit comments

Comments
 (0)