|
5 | 5 | "prConcurrentLimit": 0, |
6 | 6 | "prHourlyLimit": 0, |
7 | 7 | "schedule": ["* 0-7 * * 1"], |
| 8 | + "packageRules": [ |
| 9 | + { |
| 10 | + "groupName": "Ansible collections", |
| 11 | + "matchManagers": [ |
| 12 | + "ansible-galaxy", |
| 13 | + "regex" |
| 14 | + ] |
| 15 | + } |
| 16 | + ], |
8 | 17 | "ansible-galaxy": { |
9 | 18 | "fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.ya?ml$"], |
10 | 19 | "packageRules": [ |
11 | 20 | { |
12 | | - "matchPackageNames": ["*"], |
13 | | - "groupName": "Ansible collections" |
| 21 | + "matchPackageNames": ["*"] |
14 | 22 | }, |
15 | 23 | { |
16 | | - "matchUpdateTypes": ["minor", "patch"], |
| 24 | + "automerge": true, |
17 | 25 | "matchCurrentVersion": "!/^0/", |
18 | | - "automerge": true |
| 26 | + "matchUpdateTypes": ["minor", "patch"] |
19 | 27 | } |
20 | 28 | ] |
21 | 29 | }, |
| 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 | + ], |
22 | 39 | "dockerfile": { |
23 | 40 | "ignorePaths": ["molecule/**/Dockerfile.j2"] |
24 | 41 | }, |
25 | 42 | "github-actions": { |
26 | 43 | "addLabels": ["skip-changelog"], |
27 | 44 | "packageRules": [ |
28 | 45 | { |
| 46 | + "groupName": "GitHub Actions", |
29 | 47 | "matchPackageNames": [ |
30 | 48 | "actions/**", |
31 | 49 | "github/**" |
32 | | - ], |
33 | | - "groupName": "GitHub Actions" |
| 50 | + ] |
34 | 51 | }, |
35 | 52 | { |
36 | | - "matchPackageNames": ["docker/**"], |
37 | | - "groupName": "Docker Actions" |
| 53 | + "groupName": "Docker Actions", |
| 54 | + "matchPackageNames": ["docker/**"] |
38 | 55 | }, |
39 | 56 | { |
40 | 57 | "enabled": false, |
41 | 58 | "matchUpdateTypes": ["digest"] |
42 | 59 | }, |
43 | 60 | { |
| 61 | + "automerge": true, |
44 | 62 | "matchUpdateTypes": ["minor", "patch"], |
45 | | - "matchCurrentVersion": "!/^0/", |
46 | | - "automerge": true |
| 63 | + "matchCurrentVersion": "!/^0/" |
47 | 64 | } |
48 | 65 | ] |
49 | 66 | }, |
50 | 67 | "pip_requirements": { |
51 | 68 | "fileMatch": ["(^|/)[\\w-]*requirements([_.]\\w+)?\\.(txt|pip)$"], |
52 | 69 | "packageRules": [ |
53 | 70 | { |
54 | | - "matchPackageNames": ["*"], |
55 | | - "groupName": "Python dependencies" |
| 71 | + "groupName": "Python dependencies", |
| 72 | + "matchPackageNames": ["*"] |
56 | 73 | }, |
57 | 74 | { |
58 | | - "matchPackageNames": ["ansible-core"], |
59 | 75 | "groupName": "Ansible core", |
| 76 | + "matchPackageNames": ["ansible-core"], |
60 | 77 | "separateMinorPatch": true |
61 | 78 | }, |
62 | 79 | { |
| 80 | + "automerge": true, |
63 | 81 | "matchUpdateTypes": ["patch"], |
64 | | - "matchCurrentVersion": "!/^0/", |
65 | | - "automerge": true |
| 82 | + "matchCurrentVersion": "!/^0/" |
66 | 83 | } |
67 | 84 | ] |
68 | 85 | } |
|
0 commit comments