-
Notifications
You must be signed in to change notification settings - Fork 635
Expand file tree
/
Copy pathrenovate.json
More file actions
66 lines (66 loc) · 2.26 KB
/
Copy pathrenovate.json
File metadata and controls
66 lines (66 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"enabledManagers": ["custom.regex", "github-actions", "pep621"],
"includePaths": [
"pyproject.toml",
"uv.lock",
"scripts/split_tox_gh_actions/templates/test_group.jinja",
"scripts/split_tox_gh_actions/templates/test_orchestrator.jinja",
".github/workflows/*.yml"
],
"lockFileMaintenance": {
"enabled": true
},
"packageRules": [
{
"description": "Disable pyproject.toml version updates.",
"matchManagers": ["pep621"],
"matchUpdateTypes": ["major", "minor", "patch", "pin"],
"enabled": false
},
{
"description": "Disable Ubuntu image updates.",
"matchManagers": ["github-actions"],
"matchDatasources": ["github-runners"],
"enabled": false
},
{
"description": "Group GitHub workflow updates.",
"matchManagers": ["custom.regex", "github-actions"],
"groupName": "GitHub Workflows",
"groupSlug": "github-workflows",
"separateMajorMinor": false,
"separateMinorPatch": false,
"separateMultipleMajor": false
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update GitHub Actions in templates.",
"managerFilePatterns": [
"/^scripts\\/split_tox_gh_actions\\/templates\\/(test_group|test_orchestrator)\\.jinja$/"
],
"matchStrings": [
"(?<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})"
],
"datasourceTemplate": "github-tags",
"versioningTemplate": "github-actions",
"autoReplaceStringTemplate": "{{{depName}}}@{{{newDigest}}} # {{{newValue}}}"
},
{
"customType": "regex",
"description": "Update (some) Docker images in templates.",
"managerFilePatterns": [
"/^scripts\\/split_tox_gh_actions\\/templates\\/test_group\\.jinja$/"
],
"matchStrings": [
"(?<depName>ghcr\\.io\\/getsentry\\/image-mirror-library-[a-z0-9_.-]+):(?<currentValue>[A-Za-z0-9_.-]+)"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker",
"autoReplaceStringTemplate": "{{{depName}}}:{{{newValue}}}"
}
]
}