From 411dc6def7ab39119b063f3ee169cc8ae9291e1d Mon Sep 17 00:00:00 2001 From: Philippe Scorsolini <5697904+phisco@users.noreply.github.com> Date: Thu, 6 Aug 2026 12:35:29 +0000 Subject: [PATCH] fix(renovate): match ARG GO_VERSION in Dockerfile The Dockerfile half of the Go custom manager never produced a dependency. Renovate compiles matchStrings with the 'g' flag only, so the leading '^' anchored to the start of the file rather than the start of a line, and the ARG sits a few lines down. Even on a match, the lazy group had nothing following it and would have captured the empty string. Drop the anchor and terminate on a newline, as the sibling GO_VERSION pattern already does. Signed-off-by: Philippe Scorsolini <5697904+phisco@users.noreply.github.com> --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 6207184..acb02bb 100644 --- a/renovate.json +++ b/renovate.json @@ -22,7 +22,7 @@ "managerFilePatterns": ["/^\\.github\\/workflows\\/[^/]+\\.ya?ml$/", "Dockerfile"], "matchStrings": [ "GO_VERSION: ['\"]?(?.*?)['\"]?\\n", - "^ARG GO_VERSION=(?.*?)" + "ARG GO_VERSION=(?.*?)\\n" ], "datasourceTemplate": "golang-version", "depNameTemplate": "go",