Skip to content

Commit f72c074

Browse files
chore(config): migrate config .github/renovate.json
1 parent a6aa993 commit f72c074

File tree

1 file changed

+30
-13
lines changed

1 file changed

+30
-13
lines changed

.github/renovate.json

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,41 +20,58 @@
2020
"enabled": false
2121
},
2222
"pip_requirements": {
23-
"fileMatch": [
24-
"(^|/)requirements[\\w-]*\\.txt$"
23+
"managerFilePatterns": [
24+
"/(^|/)requirements[\\w-]*\\.txt$/"
2525
]
2626
},
27-
"regexManagers": [
27+
"customManagers": [
2828
{
29-
"fileMatch": ["^\\.pre-commit-config\\.yaml$"],
30-
"matchStrings": ["(?<depName>[\\w-]+)(?<currentValue>==[a-z0-9.]+)"],
29+
"customType": "regex",
30+
"managerFilePatterns": [
31+
"/^\\.pre-commit-config\\.yaml$/"
32+
],
33+
"matchStrings": [
34+
"(?<depName>[\\w-]+)(?<currentValue>==[a-z0-9.]+)"
35+
],
3136
"datasourceTemplate": "pypi"
3237
}
3338
],
34-
"labels": ["bot"],
39+
"labels": [
40+
"bot"
41+
],
3542
"packageRules": [
3643
{
37-
"matchFiles": ["test/requirements.txt"],
44+
"matchFileNames": [
45+
"test/requirements.txt"
46+
],
3847
"semanticCommitType": "test"
3948
},
4049
{
41-
"matchManagers": ["pre-commit"],
50+
"matchManagers": [
51+
"pre-commit"
52+
],
4253
"commitMessageTopic": "{{depName}}",
4354
"semanticCommitScope": "pre-commit"
4455
},
4556
{
46-
"matchPackagePatterns": ["(^|/)gitlint$"],
4757
"versioning": "pep440",
48-
"groupName": "gitlint"
58+
"groupName": "gitlint",
59+
"matchPackageNames": [
60+
"/(^|/)gitlint$/"
61+
]
4962
},
5063
{
51-
"matchPackageNames": ["perltidy/perltidy"],
64+
"matchPackageNames": [
65+
"perltidy/perltidy"
66+
],
5267
"versioning": "regex:^(?<major>\\d{8})$"
5368
},
5469
{
55-
"matchPackagePatterns": ["(^|/)ruff(-pre-commit)?$"],
5670
"groupName": "ruff",
57-
"versioning": "pep440"
71+
"versioning": "pep440",
72+
"matchPackageNames": [
73+
"/(^|/)ruff(-pre-commit)?$/"
74+
]
5875
},
5976
{
6077
"matchPackageNames": [

0 commit comments

Comments
 (0)