-
Notifications
You must be signed in to change notification settings - Fork 211
Expand file tree
/
Copy pathrenovate.json
More file actions
257 lines (257 loc) · 8.4 KB
/
renovate.json
File metadata and controls
257 lines (257 loc) · 8.4 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
":semanticCommitsDisabled"
],
"labels": ["dependencies"],
"schedule": ["every weekend"],
"prConcurrentLimit": 5,
"prHourlyLimit": 2,
"packageRules": [
{
"description": "Update toolhive-catalog dependency daily",
"matchPackageNames": ["github.com/stacklok/toolhive-catalog"],
"schedule": ["at any time"]
},
{
"groupName": "toolhive images",
"matchDatasources": ["docker"],
"matchPackageNames": [
"ghcr.io/stacklok/toolhive/proxyrunner",
"ghcr.io/stacklok/toolhive/operator",
"ghcr.io/stacklok/toolhive/vmcp"
],
"matchFileNames": ["deploy/charts/operator/**"]
},
{
"description": "Only allow patch updates for kindest/node",
"matchManagers": ["custom.regex"],
"matchPackageNames": ["kindest/node"],
"matchUpdateTypes": ["minor", "major"],
"enabled": false
},
{
"groupName": "kindest/node patch versions",
"matchManagers": ["custom.regex"],
"matchPackageNames": ["kindest/node"],
"matchUpdateTypes": ["patch"]
},
{
"groupName": "dockerfile template base images",
"matchDatasources": ["docker"],
"matchManagers": ["custom.regex"],
"matchPackageNames": ["!kindest/node"]
},
{
"description": "Group core workflow actions",
"groupName": "core workflow actions",
"matchManagers": ["github-actions"],
"matchPackageNames": [
"actions/checkout",
"actions/upload-artifact",
"actions/download-artifact",
"actions/github-script",
"actions/cache"
]
},
{
"description": "Group setup and language actions",
"groupName": "setup and language actions",
"matchManagers": ["github-actions"],
"matchPackageNames": [
"actions/setup-go",
"arduino/setup-task",
"azure/setup-helm",
"ko-build/setup-ko"
]
},
{
"description": "Group container build and publish actions",
"groupName": "container build actions",
"matchManagers": ["github-actions"],
"matchPackageNames": [
"docker/build-push-action",
"docker/login-action",
"docker/setup-buildx-action",
"docker/metadata-action"
]
},
{
"description": "Group security scanning and signing actions",
"groupName": "security scanning and signing actions",
"matchManagers": ["github-actions"],
"matchPackageNames": [
"sigstore/cosign-installer",
"aquasecurity/trivy-action",
"anchore/sbom-action/download-syft",
"golang/govulncheck-action",
"github/codeql-action/upload-sarif",
"slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml",
"slsa-framework/slsa-verifier/actions/installer"
]
},
{
"description": "Group release and publishing actions",
"groupName": "release and publishing actions",
"matchManagers": ["github-actions"],
"matchPackageNames": [
"goreleaser/goreleaser-action",
"codecov/codecov-action",
"coverallsapp/github-action",
"helm/chart-testing-action",
"helm/kind-action"
]
},
{
"description": "Group Kubernetes and controller-runtime dependencies",
"groupName": "kubernetes dependencies",
"matchDatasources": ["go"],
"matchPackageNames": [
"/^k8s\\.io//",
"/^sigs\\.k8s\\.io//"
]
},
{
"description": "Group OpenTelemetry and observability dependencies",
"groupName": "opentelemetry and observability",
"matchDatasources": ["go"],
"matchPackageNames": [
"/^go\\.opentelemetry\\.io//",
"/^github\\.com/prometheus//"
]
},
{
"description": "Group authentication and security libraries",
"groupName": "auth and security libraries",
"matchDatasources": ["go"],
"matchPackageNames": [
"github.com/coreos/go-oidc/v3",
"github.com/go-jose/go-jose/v4",
"github.com/golang-jwt/jwt/v5",
"github.com/cedar-policy/cedar-go",
"golang.org/x/oauth2"
]
},
{
"description": "Group signing and attestation libraries",
"groupName": "signing and attestation libraries",
"matchDatasources": ["go"],
"matchPackageNames": [
"/^github\\.com/sigstore//",
"/^github\\.com/in-toto//"
]
},
{
"description": "Group Docker and container libraries",
"groupName": "container and docker libraries",
"matchDatasources": ["go"],
"matchPackageNames": [
"/^github\\.com/docker//",
"/^github\\.com/google/go-containerregistry/",
"/^github\\.com/containerd//",
"/^github\\.com/opencontainers//"
]
},
{
"description": "Group CLI and UI libraries",
"groupName": "cli and ui libraries",
"matchDatasources": ["go"],
"matchPackageNames": [
"/^github\\.com/charmbracelet//",
"/^github\\.com/spf13//"
]
},
{
"description": "Group testing libraries",
"groupName": "testing libraries",
"matchDatasources": ["go"],
"matchPackageNames": [
"/^github\\.com/onsi//",
"/^github\\.com/stretchr/testify/"
]
},
{
"description": "Group MCP and protocol libraries",
"groupName": "mcp and protocol libraries",
"matchDatasources": ["go"],
"matchPackageNames": [
"github.com/mark3labs/mcp-go",
"github.com/modelcontextprotocol/registry"
]
},
{
"description": "Only allow minor and patch updates for Helm CLI (avoid v4.x)",
"matchManagers": ["custom.regex"],
"matchPackageNames": ["helm/helm"],
"matchUpdateTypes": ["major"],
"enabled": false
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update MCP Inspector source image for thv inspector command",
"managerFilePatterns": ["cmd/thv/app/inspector/version.go"],
"matchStrings": [
"var Image = \"(?<depName>[^:]+):(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update Docker base images in template files (tag-based)",
"managerFilePatterns": ["pkg/container/templates/*.tmpl"],
"matchStrings": [
"FROM (?<depName>[a-z0-9.-]+):(?<currentValue>[a-z0-9.-]+)(?:\\s|$)"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update Docker base images in template files (digest-pinned with tag)",
"managerFilePatterns": ["pkg/container/templates/*.tmpl"],
"matchStrings": [
"FROM (?<depName>[a-z0-9./_-]+):(?<currentValue>[a-z0-9.-]+)@(?<currentDigest>sha256:[a-f0-9]{64})"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update kindest/node versions in GitHub workflows",
"managerFilePatterns": [".github/workflows/*.yml", ".github/workflows/*.yaml"],
"matchStrings": [
"\"(?<depName>kindest/node):v(?<currentValue>\\d+\\.\\d+\\.\\d+)\""
],
"datasourceTemplate": "docker",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Update Kind CLI version in GitHub workflows",
"managerFilePatterns": [".github/workflows/*.yml"],
"matchStrings": ["version:\\s+v(?<currentValue>\\d+\\.\\d+\\.\\d+)\\s+#\\s+kind"],
"depNameTemplate": "kubernetes-sigs/kind",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "Update Chainsaw release version in GitHub workflows",
"managerFilePatterns": [".github/workflows/*.yml"],
"matchStrings": ["release:\\s+v(?<currentValue>\\d+\\.\\d+\\.\\d+)\\s+#\\s+chainsaw"],
"depNameTemplate": "kyverno/chainsaw",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"description": "Update Helm CLI version in GitHub workflows",
"managerFilePatterns": [".github/workflows/*.yml"],
"matchStrings": ["version:\\s+v(?<currentValue>\\d+\\.\\d+\\.\\d+)\\s+#\\s+helm"],
"depNameTemplate": "helm/helm",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.*)$"
}
],
"postUpdateOptions": ["gomodTidy"]
}