Tuning renovate config to just custom regex (#3928)

This commit is contained in:
Geoff Bourne
2026-02-15 09:52:49 -06:00
committed by GitHub
parent 67ec9e1b3c
commit cca86e6a3d
4 changed files with 17 additions and 14 deletions

View File

@@ -17,7 +17,7 @@ on:
- "compose-docs.yml"
- "zensical.toml"
- ".readthedocs.yaml"
- "renovate.json"
- "renovate.json*"
jobs:
build:

View File

@@ -14,7 +14,7 @@ on:
- "compose-docs.yml"
- "zensical.toml"
- ".readthedocs.yaml"
- "renovate.json"
- "renovate.json*"
jobs:
build:

View File

@@ -1,12 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^Dockerfile$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
]
}
]
}

15
renovate.json5 Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": [
"custom"
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^Dockerfile$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: packageName=(?<packageName>.+?))? (?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
]
}
]
}