Skip to content

Commit eb7640d

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

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

.github/renovate.json

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,23 @@
44
"github>scop/common",
55
],
66
"pip_requirements": {
7-
"fileMatch": ["(^|/)requirements[\\w-]*\\.txt$"]
7+
"managerFilePatterns": [
8+
"/(^|/)requirements[\w-]*\.txt$/"
9+
]
810
},
9-
"regexManagers": [
11+
"customManagers": [
1012
{
11-
"fileMatch": ["^\\.pre-commit-config\\.yaml$"],
12-
"matchStrings": ["(?<depName>[\\w-]+)(?<currentValue>==[a-z0-9.]+)"],
13+
"customType": "regex",
14+
"managerFilePatterns": ["/^\.pre-commit-config\.yaml$/"],
15+
"matchStrings": ["(?<depName>[\w-]+)(?<currentValue>==[a-z0-9.]+)"],
1316
"datasourceTemplate": "pypi"
1417
}
1518
],
1619
"packageRules": [
1720
{
18-
"matchFiles": ["requirements-test.txt"],
21+
"matchFileNames": [
22+
"requirements-test.txt"
23+
],
1924
"semanticCommitType": "test"
2025
},
2126
{
@@ -24,14 +29,18 @@
2429
"semanticCommitScope": "pre-commit"
2530
},
2631
{
27-
"matchPackagePatterns": ["(^|/)gitlint$"],
2832
"groupName": "gitlint",
29-
"versioning": "pep440"
33+
"versioning": "pep440",
34+
"matchPackageNames": [
35+
"/(^|/)gitlint$/"
36+
]
3037
},
3138
{
32-
"matchPackagePatterns": ["(^|/)ruff(-pre-commit)?$"],
3339
"groupName": "ruff",
34-
"versioning": "pep440"
40+
"versioning": "pep440",
41+
"matchPackageNames": [
42+
"/(^|/)ruff(-pre-commit)?$/"
43+
]
3544
}
3645
]
3746
}

0 commit comments

Comments
 (0)