From d1e35e1c06e4e06defd15b9590374d33ff729444 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Thu, 27 Jul 2023 21:26:49 +0200 Subject: [PATCH] re-add regex matcher --- renovate.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index 7190a60..82c3819 100644 --- a/renovate.json +++ b/renovate.json @@ -1,3 +1,15 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json" -} + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "regexManagers": [ + { + "fileMatch": [ + "ansible-test.yml", + "Containerfile" + ], + "matchStrings": [ + "# renovate: datasource=(?.*?) (versioning=(?.*?))\n.*_image: (?.*?):(?.*?)$" + ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + } + ] +} \ No newline at end of file