From d79ff3ffb41212742d4ead2ea45a34f143f6bbdc Mon Sep 17 00:00:00 2001 From: pooneyy <85266337+pooneyy@users.noreply.github.com> Date: Fri, 6 Feb 2026 11:00:09 +0800 Subject: [PATCH] chore(renovate): update shell script regex for docker image detection - modify regex pattern in custom manager to optionally match lines starting with '# renovate' comment - improve pattern to handle newlines before variable assignment for better compatibility --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 8ecd01419..f10b60f18 100644 --- a/renovate.json +++ b/renovate.json @@ -316,7 +316,7 @@ "managerFilePatterns": ["/(^|/).+\\.sh$/"], "matchStrings": [ // 调试正则表达式: https://regexr.com/8jlns - "([\\S]+=)(?[\\S]+):(?[\\S]+)" + "(?:# renovate)(?:\\n+)?([\\S]+=)(?[\\S]+):(?[\\S]+)" ], "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}docker{{/if}}" }