Skip to content

Commit 7f61a10

Browse files
authored
chore(ci): modernize Renovate config (#921)
Modernizes the Renovate config to the current schema. Renovate v36+ renamed several options, and `renovate-config-validator --strict` reported that the config needs migration. Applies exactly the migrations the validator prescribes: - `config:base` → `config:recommended` - `pinVersions: false` → `rangeStrategy: "replace"` - `matchPaths` → `matchFileNames` Also fixes the inconsistent indentation of the last `packageRules` entry (10 → 12 spaces). No behavior change: after the change the config validates cleanly (`Config validated successfully`), whereas before it emitted `Config migration necessary`.
1 parent 25c4087 commit 7f61a10

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

renovate.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"extends": ["config:base", ":semanticCommitTypeAll(chore)"],
2+
"extends": ["config:recommended", ":semanticCommitTypeAll(chore)"],
33
"ignorePaths": ["docs/**", "website/versioned_docs/**"],
4-
"pinVersions": false,
4+
"rangeStrategy": "replace",
55
"separateMajorMinor": false,
66
"dependencyDashboard": false,
77
"semanticCommits": "enabled",
@@ -13,7 +13,7 @@
1313
},
1414
"packageRules": [
1515
{
16-
"matchPaths": ["pyproject.toml"],
16+
"matchFileNames": ["pyproject.toml"],
1717
"matchDepTypes": ["devDependencies"],
1818
"matchUpdateTypes": ["major", "minor"],
1919
"groupName": "major/minor dev dependencies",
@@ -26,8 +26,8 @@
2626
"minimumReleaseAge": "0 days"
2727
},
2828
{
29-
"matchUpdateTypes": ["lockFileMaintenance"],
30-
"minimumReleaseAgeBehaviour": "timestamp-optional"
29+
"matchUpdateTypes": ["lockFileMaintenance"],
30+
"minimumReleaseAgeBehaviour": "timestamp-optional"
3131
}
3232
],
3333
"minimumReleaseAge": "1 day",

0 commit comments

Comments
 (0)