Skip to content

Commit 69b073c

Browse files
authored
fix(renovate): group Charon and Docker dependency updates separately (#307)
1 parent aab05e9 commit 69b073c

1 file changed

Lines changed: 19 additions & 41 deletions

File tree

.github/renovate.json

Lines changed: 19 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,43 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended"
5-
],
6-
"enabledManagers": [
7-
"github-actions",
8-
"regex"
9-
],
3+
"extends": ["config:recommended"],
4+
"enabledManagers": ["github-actions", "regex"],
105
"customManagers": [
116
{
127
"customType": "regex",
13-
"fileMatch": [
14-
"^docker-compose\\.yml$"
15-
],
16-
"matchStrings": [
17-
"image:\\s*obolnetwork/charon:\\$\\{CHARON_VERSION:-v?(?<currentValue>[\\w.-]+)}"
18-
],
8+
"fileMatch": ["^docker-compose\\.yml$"],
9+
"matchStrings": ["image:\\s*obolnetwork/charon:\\$\\{CHARON_VERSION:-v?(?<currentValue>[\\w.-]+)}"],
1910
"datasourceTemplate": "github-releases",
2011
"depNameTemplate": "ObolNetwork/charon",
2112
"versioningTemplate": "semver"
2213
},
2314
{
2415
"customType": "regex",
25-
"fileMatch": [
26-
"(^|/)docker-compose\\.ya?ml$",
27-
"(^|/)compose[^/]*\\.ya?ml$"
28-
],
29-
"matchStrings": [
30-
"image:\\s*(?<depName>[^:\\s]+):\\$\\{[A-Z_]+:-(?<currentValue>[^}]+)\\}"
31-
],
16+
"fileMatch": ["(^|/)docker-compose\\.ya?ml$", "(^|/)compose[^/]*\\.ya?ml$"],
17+
"matchStrings": ["image:\\s*(?<depName>[^:\\s]+):\\$\\{[A-Z_]+:-(?<currentValue>[^}]+)\\}"],
3218
"datasourceTemplate": "docker"
3319
}
3420
],
3521
"packageRules": [
3622
{
37-
"matchManagers": [
38-
"github-actions"
39-
],
40-
"labels": [
41-
"renovate/github-actions"
42-
],
23+
"description": "GitHub Actions CI updates",
24+
"matchManagers": ["github-actions"],
25+
"labels": ["renovate/github-actions"],
4326
"groupName": "GitHub Actions updates"
4427
},
4528
{
46-
"matchManagers": [
47-
"regex"
48-
],
49-
"matchDepNames": [
50-
"ObolNetwork/charon"
51-
],
52-
"labels": [
53-
"renovate/charon"
54-
]
29+
"description": "Charon updates",
30+
"matchManagers": ["regex"],
31+
"matchDepNames": ["ObolNetwork/charon"],
32+
"labels": ["renovate/charon"],
33+
"groupName": "Charon updates"
5534
},
5635
{
57-
"matchManagers": [
58-
"regex"
59-
],
60-
"labels": [
61-
"renovate/docker"
62-
]
36+
"description": "Docker dependency updates (non-Charon)",
37+
"matchManagers": ["regex"],
38+
"excludeDepNames": ["ObolNetwork/charon"],
39+
"labels": ["renovate/docker"],
40+
"groupName": "Docker dependency updates"
6341
}
6442
]
6543
}

0 commit comments

Comments
 (0)