Skip to content

Commit f2a13b7

Browse files
committed
chore(fix): update linter and renovate common makefile
1 parent 4435439 commit f2a13b7

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

hack/common/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,12 @@ CONTROLLER_TOOLS_VERSION ?= v0.16.4
191191
# renovate: datasource=github-tags depName=golang/tools
192192
FORMATTER_VERSION ?= v0.26.0
193193
# renovate: datasource=github-releases depName=golangci/golangci-lint
194-
LINTER_VERSION ?= v1.61.0
194+
LINTER_VERSION ?= v1.64.8
195195
# renovate: datasource=github-releases depName=jqlang/jq
196196
JQ_VERSION ?= 1.7.1
197197
# renovate: datasource=github-releases depName=open-component-model/ocm
198198
OCM_VERSION ?= 0.16.2
199+
# renovate: datasource=github-releases depName=helm/helm
199200
HELM_VERSION ?= v3.13.2
200201
# renovate: datasource=github-releases depName=bronze1man/yaml2json
201202
YAML2JSON_VERSION ?= v1.3.3

renovate.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,19 @@
66
],
77
"postUpdateOptions": [
88
"gomodTidy"
9+
],
10+
"customManagers": [
11+
{
12+
"description": "Match in Makefile and Dockerfile",
13+
"customType": "regex",
14+
"fileMatch": [
15+
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
16+
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$",
17+
"(^|/)Makefile$"
18+
],
19+
"matchStrings": [
20+
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s(?:ENV |ARG )?.+?_VERSION ?(?:\\?=|=)\"? ?(?<currentValue>.+?)\"?\\s"
21+
]
22+
}
923
]
1024
}

0 commit comments

Comments
 (0)