Skip to content

Commit b00ef73

Browse files
chore: Configure Renovate (#6701)
Co-authored-by: Alexander Alderman Webb <alexander.webb@sentry.io>
1 parent 171aa16 commit b00ef73

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

renovate.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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/test.yml",
11+
".github/workflows/test-integrations-*.yml"
12+
],
13+
"lockFileMaintenance": {
14+
"enabled": true
15+
},
16+
"packageRules": [
17+
{
18+
"description": "Group package updates.",
19+
"matchManagers": ["pep621"],
20+
"groupName": "Packages",
21+
"groupSlug": "packages",
22+
"separateMajorMinor": false,
23+
"separateMinorPatch": false,
24+
"separateMultipleMajor": false
25+
},
26+
{
27+
"description": "Group GitHub Actions updates.",
28+
"matchManagers": ["custom.regex", "github-actions"],
29+
"matchDatasources": ["github-tags"],
30+
"groupName": "GitHub Actions",
31+
"groupSlug": "github-actions",
32+
"separateMajorMinor": false,
33+
"separateMinorPatch": false,
34+
"separateMultipleMajor": false
35+
}
36+
],
37+
"customManagers": [
38+
{
39+
"customType": "regex",
40+
"description": "Update GitHub Actions in test_group.jinja",
41+
"managerFilePatterns": [
42+
"/^scripts\\/split_tox_gh_actions\\/templates\\/(test_group|test_orchestrator)\\.jinja$/"
43+
],
44+
"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+
],
47+
"datasourceTemplate": "github-tags",
48+
"versioningTemplate": "semver-coerced",
49+
"autoReplaceStringTemplate": "{{{indent}}}{{{depName}}}@{{{newDigest}}} # {{{newValue}}}"
50+
}
51+
]
52+
}

0 commit comments

Comments
 (0)