Skip to content

Commit 7d6bc0e

Browse files
committed
chore(config): migrate config .github/renovate.json (#829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 82647ab commit 7d6bc0e

File tree

1 file changed

+51
-17
lines changed

1 file changed

+51
-17
lines changed

.github/renovate.json

Lines changed: 51 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,63 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:recommended"],
4-
"labels": ["dependencies"],
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"labels": [
7+
"dependencies"
8+
],
59
"prConcurrentLimit": 0,
610
"prHourlyLimit": 0,
7-
"schedule": ["* 0-7 * * 1"],
11+
"schedule": [
12+
"* 0-7 * * 1"
13+
],
814
"separateMultipleMajor": true,
915
"packageRules": [
1016
{
1117
"groupName": "Ansible collections",
1218
"matchManagers": [
1319
"ansible-galaxy",
14-
"regex"
20+
"custom.regex"
1521
]
1622
}
1723
],
1824
"ansible-galaxy": {
19-
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"],
25+
"fileMatch": [
26+
"(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"
27+
],
2028
"packageRules": [
2129
{
2230
"automerge": true,
2331
"matchCurrentVersion": "!/^0/",
24-
"matchUpdateTypes": ["minor", "patch"]
32+
"matchUpdateTypes": [
33+
"minor",
34+
"patch"
35+
]
2536
}
2637
]
2738
},
2839
"customManagers": [
2940
{
3041
"customType": "regex",
3142
"datasourceTemplate": "galaxy-collection",
32-
"fileMatch": ["README.md"],
33-
"matchStrings": ["- name: (?<depName>\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?<currentValue>\\d+\\.\\d+\\.\\d+)"],
43+
"fileMatch": [
44+
"README.md"
45+
],
46+
"matchStrings": [
47+
"- name: (?<depName>\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?<currentValue>\\d+\\.\\d+\\.\\d+)"
48+
],
3449
"versioningTemplate": "semver"
3550
}
3651
],
3752
"dockerfile": {
38-
"ignorePaths": ["molecule/**/Dockerfile.j2"]
53+
"ignorePaths": [
54+
"molecule/**/Dockerfile.j2"
55+
]
3956
},
4057
"github-actions": {
41-
"addLabels": ["skip-changelog"],
58+
"addLabels": [
59+
"skip-changelog"
60+
],
4261
"packageRules": [
4362
{
4463
"groupName": "GitHub Actions",
@@ -49,34 +68,49 @@
4968
},
5069
{
5170
"groupName": "Docker Actions",
52-
"matchPackageNames": ["docker/**"]
71+
"matchPackageNames": [
72+
"docker/**"
73+
]
5374
},
5475
{
5576
"enabled": false,
56-
"matchUpdateTypes": ["digest"]
77+
"matchUpdateTypes": [
78+
"digest"
79+
]
5780
},
5881
{
5982
"automerge": true,
60-
"matchUpdateTypes": ["minor", "patch"],
83+
"matchUpdateTypes": [
84+
"minor",
85+
"patch"
86+
],
6187
"matchCurrentVersion": "!/^0/"
6288
}
6389
]
6490
},
6591
"pip_requirements": {
66-
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"],
92+
"fileMatch": [
93+
"(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"
94+
],
6795
"packageRules": [
6896
{
6997
"groupName": "Python dependencies",
70-
"matchPackageNames": ["*"]
98+
"matchPackageNames": [
99+
"*"
100+
]
71101
},
72102
{
73103
"groupName": "Ansible core",
74-
"matchPackageNames": ["ansible-core"],
104+
"matchPackageNames": [
105+
"ansible-core"
106+
],
75107
"separateMinorPatch": true
76108
},
77109
{
78110
"automerge": true,
79-
"matchUpdateTypes": ["patch"],
111+
"matchUpdateTypes": [
112+
"patch"
113+
],
80114
"matchCurrentVersion": "!/^0/"
81115
}
82116
]

0 commit comments

Comments
 (0)