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