format(renovate): simplify regex patterns in config

- use glob pattern instead of regex where possible
This commit is contained in:
Sebastian Mark 2025-05-05 15:22:45 +02:00
parent c9e8bc7a65
commit 86b0bca49e

View file

@ -8,7 +8,7 @@
"customType": "regex", "customType": "regex",
"description": "k3s", "description": "k3s",
"managerFilePatterns": [ "managerFilePatterns": [
"/playbook\\.yml/" "playbook.yml"
], ],
"matchStrings": [ "matchStrings": [
"\\s+k3s_version:\\s(?<currentValue>.*)" "\\s+k3s_version:\\s(?<currentValue>.*)"
@ -20,7 +20,7 @@
"customType": "regex", "customType": "regex",
"description": "ArgoCD", "description": "ArgoCD",
"managerFilePatterns": [ "managerFilePatterns": [
"/^argocd-bootstrap/.*\\.yml$/" "argocd-bootstrap/*.yml"
], ],
"matchStrings": [ "matchStrings": [
"\\s+chart:\\s(?<depName>.*)", "\\s+chart:\\s(?<depName>.*)",
@ -34,7 +34,7 @@
"customType": "regex", "customType": "regex",
"description": "Baseline Manifests", "description": "Baseline Manifests",
"managerFilePatterns": [ "managerFilePatterns": [
"/\\.jsonnet$/" "*.jsonnet"
], ],
"matchStrings": [ "matchStrings": [
"\\s+chart::\\s\\\"(?<depName>.*)\\\",", "\\s+chart::\\s\\\"(?<depName>.*)\\\",",