Skip to content

Commit ba84de9

Browse files
committed
feat: replace custom update-tools workflow with Renovate
Replace the hand-rolled update-tools.yaml GitHub Actions workflow with a Renovate configuration. Renovate handles version updates for all tools (Runner, Argo, Kargo, pack, dive, hadolint, yq) across both Containerfile and manifest.yaml via regex custom managers. It also natively handles GitHub Actions and pre-commit hook updates. https://claude.ai/code/session_01RofXXAMZxK4irobNYjYn3W
1 parent a178c21 commit ba84de9

File tree

2 files changed

+71
-142
lines changed

2 files changed

+71
-142
lines changed

.github/workflows/update-tools.yaml

Lines changed: 0 additions & 142 deletions
This file was deleted.

renovate.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"customManagers": [
7+
{
8+
"customType": "regex",
9+
"description": "Update GitHub Actions Runner version",
10+
"fileMatch": ["^Containerfile$", "^manifest\\.yaml$"],
11+
"matchStrings": ["RUNNER_VERSION=(?<currentValue>\\S+)"],
12+
"depNameTemplate": "actions/runner",
13+
"datasourceTemplate": "github-releases",
14+
"extractVersionTemplate": "^v?(?<version>.+)$"
15+
},
16+
{
17+
"customType": "regex",
18+
"description": "Update Dive version",
19+
"fileMatch": ["^Containerfile$", "^manifest\\.yaml$"],
20+
"matchStrings": ["DIVE_VERSION=(?<currentValue>\\S+)"],
21+
"depNameTemplate": "wagoodman/dive",
22+
"datasourceTemplate": "github-releases",
23+
"extractVersionTemplate": "^v?(?<version>.+)$"
24+
},
25+
{
26+
"customType": "regex",
27+
"description": "Update Hadolint version",
28+
"fileMatch": ["^Containerfile$", "^manifest\\.yaml$"],
29+
"matchStrings": ["HADOLINT_VERSION=(?<currentValue>\\S+)"],
30+
"depNameTemplate": "hadolint/hadolint",
31+
"datasourceTemplate": "github-releases",
32+
"extractVersionTemplate": "^v?(?<version>.+)$"
33+
},
34+
{
35+
"customType": "regex",
36+
"description": "Update yq version",
37+
"fileMatch": ["^Containerfile$", "^manifest\\.yaml$"],
38+
"matchStrings": ["YQ_VERSION=(?<currentValue>\\S+)"],
39+
"depNameTemplate": "mikefarah/yq",
40+
"datasourceTemplate": "github-releases",
41+
"extractVersionTemplate": "^v?(?<version>.+)$"
42+
},
43+
{
44+
"customType": "regex",
45+
"description": "Update Argo Workflows CLI version",
46+
"fileMatch": ["^Containerfile$", "^manifest\\.yaml$"],
47+
"matchStrings": ["ARGO_VERSION=(?<currentValue>\\S+)"],
48+
"depNameTemplate": "argoproj/argo-workflows",
49+
"datasourceTemplate": "github-releases",
50+
"extractVersionTemplate": "^v?(?<version>.+)$"
51+
},
52+
{
53+
"customType": "regex",
54+
"description": "Update Kargo CLI version",
55+
"fileMatch": ["^Containerfile$", "^manifest\\.yaml$"],
56+
"matchStrings": ["KARGO_VERSION=(?<currentValue>\\S+)"],
57+
"depNameTemplate": "akuity/kargo",
58+
"datasourceTemplate": "github-releases",
59+
"extractVersionTemplate": "^v?(?<version>.+)$"
60+
},
61+
{
62+
"customType": "regex",
63+
"description": "Update pack (Buildpacks) CLI version",
64+
"fileMatch": ["^Containerfile$", "^manifest\\.yaml$"],
65+
"matchStrings": ["PACK_VERSION=(?<currentValue>\\S+)"],
66+
"depNameTemplate": "buildpacks/pack",
67+
"datasourceTemplate": "github-releases",
68+
"extractVersionTemplate": "^v?(?<version>.+)$"
69+
}
70+
]
71+
}

0 commit comments

Comments
 (0)