|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": ["config:recommended"], |
| 4 | + "enabledManagers": ["custom.regex", "github-actions", "pep621"], |
| 5 | + "includePaths": [ |
| 6 | + "pyproject.toml", |
| 7 | + "uv.lock", |
| 8 | + "scripts/split_tox_gh_actions/templates/test_group.jinja", |
| 9 | + "scripts/split_tox_gh_actions/templates/test_orchestrator.jinja", |
| 10 | + ".github/workflows/*.yml" |
| 11 | + ], |
| 12 | + "lockFileMaintenance": { |
| 13 | + "enabled": true |
| 14 | + }, |
| 15 | + "packageRules": [ |
| 16 | + { |
| 17 | + "description": "Disable pyproject.toml version updates.", |
| 18 | + "matchManagers": ["pep621"], |
| 19 | + "matchUpdateTypes": ["major", "minor", "patch", "pin"], |
| 20 | + "enabled": false |
| 21 | + }, |
| 22 | + { |
| 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.", |
| 30 | + "matchManagers": ["custom.regex", "github-actions"], |
| 31 | + "groupName": "GitHub Workflows", |
| 32 | + "groupSlug": "github-workflows", |
| 33 | + "separateMajorMinor": false, |
| 34 | + "separateMinorPatch": false, |
| 35 | + "separateMultipleMajor": false |
| 36 | + } |
| 37 | + ], |
| 38 | + "customManagers": [ |
| 39 | + { |
| 40 | + "customType": "regex", |
| 41 | + "description": "Update GitHub Actions in templates.", |
| 42 | + "managerFilePatterns": [ |
| 43 | + "/^scripts\\/split_tox_gh_actions\\/templates\\/(test_group|test_orchestrator)\\.jinja$/" |
| 44 | + ], |
| 45 | + "matchStrings": [ |
| 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})" |
| 47 | + ], |
| 48 | + "datasourceTemplate": "github-tags", |
| 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}}}" |
| 64 | + } |
| 65 | + ] |
| 66 | +} |
0 commit comments