Skip to content

Commit b5650d3

Browse files
update config
1 parent a3bfb38 commit b5650d3

1 file changed

Lines changed: 45 additions & 2 deletions

File tree

renovate.json

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,49 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended"
3+
"extends": ["config:recommended"],
4+
"enabledManagers": ["custom.regex", "pep621"],
5+
"includePaths": [
6+
"pyproject.toml",
7+
"uv.lock",
8+
"scripts/split_tox_gh_actions/templates/test_group.jinja"
9+
],
10+
"lockFileMaintenance": {
11+
"enabled": true
12+
},
13+
"packageRules": [
14+
{
15+
"description": "Group package updates.",
16+
"matchManagers": ["pep621"],
17+
"groupName": "Packages",
18+
"groupSlug": "packages",
19+
"separateMajorMinor": false,
20+
"separateMinorPatch": false,
21+
"separateMultipleMajor": false
22+
},
23+
{
24+
"description": "Group GitHub Actions updates.",
25+
"matchManagers": ["custom.regex"],
26+
"matchDatasources": ["github-tags"],
27+
"groupName": "GitHub Actions",
28+
"groupSlug": "github-actions",
29+
"separateMajorMinor": false,
30+
"separateMinorPatch": false,
31+
"separateMultipleMajor": false
32+
}
33+
],
34+
"customManagers": [
35+
{
36+
"customType": "regex",
37+
"description": "Update GitHub Actions in test_group.jinja",
38+
"managerFilePatterns": [
39+
"/^scripts\\/split_tox_gh_actions\\/templates\\/test_group\\.jinja$/"
40+
],
41+
"matchStrings": [
42+
"(?<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})"
43+
],
44+
"datasourceTemplate": "github-tags",
45+
"versioningTemplate": "semver-coerced",
46+
"autoReplaceStringTemplate": "{{{indent}}}{{{depName}}}@{{{newDigest}}} # {{{newValue}}}"
47+
}
548
]
649
}

0 commit comments

Comments
 (0)