|
7 | 7 | "uv.lock", |
8 | 8 | "scripts/split_tox_gh_actions/templates/test_group.jinja", |
9 | 9 | "scripts/split_tox_gh_actions/templates/test_orchestrator.jinja", |
10 | | - ".github/workflows/test.yml", |
11 | | - ".github/workflows/test-integrations-*.yml" |
| 10 | + ".github/workflows/*.yml" |
12 | 11 | ], |
13 | 12 | "lockFileMaintenance": { |
14 | 13 | "enabled": true |
15 | 14 | }, |
16 | 15 | "packageRules": [ |
17 | 16 | { |
18 | | - "description": "Group package updates.", |
| 17 | + "description": "Disable pyproject.toml version updates.", |
19 | 18 | "matchManagers": ["pep621"], |
20 | | - "groupName": "Packages", |
21 | | - "groupSlug": "packages", |
22 | | - "separateMajorMinor": false, |
23 | | - "separateMinorPatch": false, |
24 | | - "separateMultipleMajor": false |
| 19 | + "matchUpdateTypes": ["major", "minor", "patch", "pin"], |
| 20 | + "enabled": false |
25 | 21 | }, |
26 | 22 | { |
27 | | - "description": "Group GitHub Actions updates.", |
| 23 | + "description": "Disable Ubuntu image updates.", |
| 24 | + "matchManagers": ["github-actions"], |
| 25 | + "matchDatasources": ["github-runners"], |
| 26 | + "enabled": false |
| 27 | + }, |
| 28 | + { |
| 29 | + "description": "Group GitHub workflow updates.", |
28 | 30 | "matchManagers": ["custom.regex", "github-actions"], |
29 | | - "matchDatasources": ["github-tags"], |
30 | | - "groupName": "GitHub Actions", |
31 | | - "groupSlug": "github-actions", |
| 31 | + "groupName": "GitHub Workflows", |
| 32 | + "groupSlug": "github-workflows", |
32 | 33 | "separateMajorMinor": false, |
33 | 34 | "separateMinorPatch": false, |
34 | 35 | "separateMultipleMajor": false |
|
37 | 38 | "customManagers": [ |
38 | 39 | { |
39 | 40 | "customType": "regex", |
40 | | - "description": "Update GitHub Actions in test_group.jinja", |
| 41 | + "description": "Update GitHub Actions in templates.", |
41 | 42 | "managerFilePatterns": [ |
42 | 43 | "/^scripts\\/split_tox_gh_actions\\/templates\\/(test_group|test_orchestrator)\\.jinja$/" |
43 | 44 | ], |
44 | 45 | "matchStrings": [ |
45 | | - "(?<indent>\\s+(?:-\\s+)?uses:\\s+)(?<depName>[A-Za-z0-9_.-]+\\/[A-Za-z0-9_.-]+(?:\\/[A-Za-z0-9_.-]+)*)@(?<currentDigest>[a-f0-9]{40})\\s+#\\s+(?<currentValue>v?\\d+(?:\\.\\d+){0,2})" |
| 46 | + "(?<depName>[A-Za-z0-9-]+\\/[A-Za-z0-9_.-]+(?:\\/[A-Za-z0-9_.-]+)*)@(?<currentDigest>[a-f0-9]{40})[ \\t]+#[ \\t]+(?<currentValue>v?\\d+(?:\\.\\d+){0,2})" |
46 | 47 | ], |
47 | 48 | "datasourceTemplate": "github-tags", |
48 | | - "versioningTemplate": "semver-coerced", |
49 | | - "autoReplaceStringTemplate": "{{{indent}}}{{{depName}}}@{{{newDigest}}} # {{{newValue}}}" |
| 49 | + "versioningTemplate": "github-actions", |
| 50 | + "autoReplaceStringTemplate": "{{{depName}}}@{{{newDigest}}} # {{{newValue}}}" |
| 51 | + }, |
| 52 | + { |
| 53 | + "customType": "regex", |
| 54 | + "description": "Update (some) Docker images in templates.", |
| 55 | + "managerFilePatterns": [ |
| 56 | + "/^scripts\\/split_tox_gh_actions\\/templates\\/test_group\\.jinja$/" |
| 57 | + ], |
| 58 | + "matchStrings": [ |
| 59 | + "(?<depName>ghcr\\.io\\/getsentry\\/image-mirror-library-[a-z0-9_.-]+):(?<currentValue>[A-Za-z0-9_.-]+)" |
| 60 | + ], |
| 61 | + "datasourceTemplate": "docker", |
| 62 | + "versioningTemplate": "docker", |
| 63 | + "autoReplaceStringTemplate": "{{{depName}}}:{{{newValue}}}" |
50 | 64 | } |
51 | 65 | ] |
52 | 66 | } |
0 commit comments