Skip to content

Commit c318d85

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

File tree

1 file changed

+33
-15
lines changed

1 file changed

+33
-15
lines changed

.github/renovate.json

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,64 +5,82 @@
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+
"separateMultipleMajor": true
16+
}
17+
],
818
"ansible-galaxy": {
919
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"],
1020
"packageRules": [
1121
{
12-
"matchPackageNames": ["*"],
13-
"groupName": "Ansible collections"
22+
"matchPackageNames": ["*"]
1423
},
1524
{
16-
"matchUpdateTypes": ["minor", "patch"],
25+
"automerge": true,
1726
"matchCurrentVersion": "!/^0/",
18-
"automerge": true
27+
"matchUpdateTypes": ["minor", "patch"]
1928
}
2029
]
2130
},
31+
"customManagers": [
32+
{
33+
"customType": "regex",
34+
"datasourceTemplate": "galaxy-collection",
35+
"fileMatch": ["README.md"],
36+
"matchStrings": ["- name: (?<depName>\\w+\\.\\w+)(?:\\s+#.*)?\\s+version: (?<currentValue>\\d+\\.\\d+\\.\\d+)"],
37+
"versioningTemplate": "semver"
38+
}
39+
],
2240
"dockerfile": {
2341
"ignorePaths": ["molecule/**/Dockerfile.j2"]
2442
},
2543
"github-actions": {
2644
"addLabels": ["skip-changelog"],
2745
"packageRules": [
2846
{
47+
"groupName": "GitHub Actions",
2948
"matchPackageNames": [
3049
"actions/**",
3150
"github/**"
32-
],
33-
"groupName": "GitHub Actions"
51+
]
3452
},
3553
{
36-
"matchPackageNames": ["docker/**"],
37-
"groupName": "Docker Actions"
54+
"groupName": "Docker Actions",
55+
"matchPackageNames": ["docker/**"]
3856
},
3957
{
4058
"enabled": false,
4159
"matchUpdateTypes": ["digest"]
4260
},
4361
{
62+
"automerge": true,
4463
"matchUpdateTypes": ["minor", "patch"],
45-
"matchCurrentVersion": "!/^0/",
46-
"automerge": true
64+
"matchCurrentVersion": "!/^0/"
4765
}
4866
]
4967
},
5068
"pip_requirements": {
5169
"fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"],
5270
"packageRules": [
5371
{
54-
"matchPackageNames": ["*"],
55-
"groupName": "Python dependencies"
72+
"groupName": "Python dependencies",
73+
"matchPackageNames": ["*"]
5674
},
5775
{
58-
"matchPackageNames": ["ansible-core"],
5976
"groupName": "Ansible core",
77+
"matchPackageNames": ["ansible-core"],
6078
"separateMinorPatch": true
6179
},
6280
{
81+
"automerge": true,
6382
"matchUpdateTypes": ["patch"],
64-
"matchCurrentVersion": "!/^0/",
65-
"automerge": true
83+
"matchCurrentVersion": "!/^0/"
6684
}
6785
]
6886
}

0 commit comments

Comments
 (0)