From cca86e6a3d2597c03c9005988426b260e755aa1c Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 15 Feb 2026 09:52:49 -0600 Subject: [PATCH] Tuning renovate config to just custom regex (#3928) --- .github/workflows/build.yml | 2 +- .github/workflows/verify-pr.yml | 2 +- renovate.json | 12 ------------ renovate.json5 | 15 +++++++++++++++ 4 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 renovate.json create mode 100644 renovate.json5 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 607bb1bc..d14f02c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ on: - "compose-docs.yml" - "zensical.toml" - ".readthedocs.yaml" - - "renovate.json" + - "renovate.json*" jobs: build: diff --git a/.github/workflows/verify-pr.yml b/.github/workflows/verify-pr.yml index d9c2484a..8339e96c 100644 --- a/.github/workflows/verify-pr.yml +++ b/.github/workflows/verify-pr.yml @@ -14,7 +14,7 @@ on: - "compose-docs.yml" - "zensical.toml" - ".readthedocs.yaml" - - "renovate.json" + - "renovate.json*" jobs: build: diff --git a/renovate.json b/renovate.json deleted file mode 100644 index f2a9755c..00000000 --- a/renovate.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "customManagers": [ - { - "customType": "regex", - "managerFilePatterns": ["/^Dockerfile$/"], - "matchStrings": [ - "# renovate: datasource=(?[a-z-]+?)(?: depName=(?.+?))? packageName=(?.+?)(?: versioning=(?[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s" - ] - } - ] -} diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 00000000..e95c0794 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,15 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "enabledManagers": [ + "custom" + ], + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": ["/^Dockerfile$/"], + "matchStrings": [ + "# renovate: datasource=(?[a-z-]+?)(?: packageName=(?.+?))? (?: versioning=(?[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s" + ] + } + ] +}