Skip to content

Commit 3d6f8dd

Browse files
committed
chore: Use Renovate to update README dependencies
1 parent 28c6473 commit 3d6f8dd

File tree

1 file changed

+32
-15
lines changed

1 file changed

+32
-15
lines changed

.github/renovate.json

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,64 +5,81 @@
55
"prConcurrentLimit": 0,
66
"prHourlyLimit": 0,
77
"schedule": ["* 0-7 * * 1"],
8+
"packageRules": [
9+
{
10+
"groupName": "Ansible collections",
11+
"matchManagers": [
12+
"ansible-galaxy",
13+
"regex"
14+
]
15+
}
16+
],
817
"ansible-galaxy": {
918
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"],
1019
"packageRules": [
1120
{
12-
"matchPackageNames": ["*"],
13-
"groupName": "Ansible collections"
21+
"matchPackageNames": ["*"]
1422
},
1523
{
16-
"matchUpdateTypes": ["minor", "patch"],
24+
"automerge": true,
1725
"matchCurrentVersion": "!/^0/",
18-
"automerge": true
26+
"matchUpdateTypes": ["minor", "patch"]
1927
}
2028
]
2129
},
30+
"customManagers": [
31+
{
32+
"customType": "regex",
33+
"datasourceTemplate": "galaxy-collection",
34+
"fileMatch": ["README.md"],
35+
"matchStrings": ["- name: (?<depName>\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?<currentValue>\\d+\\.\\d+\\.\\d+)"],
36+
"versioningTemplate": "semver"
37+
}
38+
],
2239
"dockerfile": {
2340
"ignorePaths": ["molecule/**/Dockerfile.j2"]
2441
},
2542
"github-actions": {
2643
"addLabels": ["skip-changelog"],
2744
"packageRules": [
2845
{
46+
"groupName": "GitHub Actions",
2947
"matchPackageNames": [
3048
"actions/**",
3149
"github/**"
32-
],
33-
"groupName": "GitHub Actions"
50+
]
3451
},
3552
{
36-
"matchPackageNames": ["docker/**"],
37-
"groupName": "Docker Actions"
53+
"groupName": "Docker Actions",
54+
"matchPackageNames": ["docker/**"]
3855
},
3956
{
4057
"enabled": false,
4158
"matchUpdateTypes": ["digest"]
4259
},
4360
{
61+
"automerge": true,
4462
"matchUpdateTypes": ["minor", "patch"],
45-
"matchCurrentVersion": "!/^0/",
46-
"automerge": true
63+
"matchCurrentVersion": "!/^0/"
4764
}
4865
]
4966
},
5067
"pip_requirements": {
5168
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"],
5269
"packageRules": [
5370
{
54-
"matchPackageNames": ["*"],
55-
"groupName": "Python dependencies"
71+
"groupName": "Python dependencies",
72+
"matchPackageNames": ["*"]
5673
},
5774
{
58-
"matchPackageNames": ["ansible-core"],
5975
"groupName": "Ansible core",
76+
"matchPackageNames": ["ansible-core"],
6077
"separateMinorPatch": true
6178
},
6279
{
80+
"automerge": true,
6381
"matchUpdateTypes": ["patch"],
64-
"matchCurrentVersion": "!/^0/",
65-
"automerge": true
82+
"matchCurrentVersion": "!/^0/"
6683
}
6784
]
6885
}

0 commit comments

Comments
 (0)