From d5aa8da47bf5c81ecca169754983cb376775472c Mon Sep 17 00:00:00 2001 From: Francesco Canovai Date: Thu, 4 Apr 2024 11:43:17 +0200 Subject: [PATCH] chore: add custom manager for renovate Signed-off-by: Francesco Canovai --- renovate.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index b4e1a09..aeeb265 100644 --- a/renovate.json +++ b/renovate.json @@ -14,5 +14,17 @@ "postUpdateOptions": [ "gomodTidy" ], - "semanticCommits": "enabled" + "semanticCommits": "enabled", + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$", + "(^|/)action\\.ya?ml$" + ], + "matchStrings": [ + "# renovate: datasource=(?[a-z-.]+?) depName=(?[^\\s]+?)(?: (?:lookupName|packageName)=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?.+?)[\"']?\\s" + ] + } + ] }