Migrate config renovate.json

This commit is contained in:
2026-01-07 23:22:12 +00:00
parent fa8c9f3ee9
commit 7c3b284624

View File

@@ -8,7 +8,9 @@
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",
"fileMatch": ["(^|/)Chart\\.yaml$"], "managerFilePatterns": [
"/(^|/)Chart\\.yaml$/"
],
"matchStrings": [ "matchStrings": [
"# renovate: github=(?<packageName>[^\\s]+)\\s+version: (?<currentValue>[^\\s]+)" "# renovate: github=(?<packageName>[^\\s]+)\\s+version: (?<currentValue>[^\\s]+)"
], ],
@@ -22,46 +24,78 @@
"packageRules": [ "packageRules": [
{ {
"description": "Label charts", "description": "Label charts",
"matchDatasources": ["helm"], "matchDatasources": [
"addLabels": ["chart"], "helm"
],
"addLabels": [
"chart"
],
"automerge": false "automerge": false
}, },
{ {
"description": "Automerge chart patches", "description": "Automerge chart patches",
"matchUpdateTypes": ["patch"], "matchUpdateTypes": [
"matchDatasources": ["helm"], "patch"
"addLabels": ["chart", "automerge"], ],
"matchDatasources": [
"helm"
],
"addLabels": [
"chart",
"automerge"
],
"automerge": true, "automerge": true,
"minimumReleaseAge": "1 days" "minimumReleaseAge": "1 days"
}, },
{ {
"description": "Automerge helm chart lock files", "description": "Automerge helm chart lock files",
"matchManagers": ["helm"], "matchManagers": [
"helm"
],
"lockFileMaintenance": { "lockFileMaintenance": {
"enabled": true "enabled": true
}, },
"addLabels": ["chart", "automerge"], "addLabels": [
"chart",
"automerge"
],
"automerge": true, "automerge": true,
"automergeType": "branch" "automergeType": "branch"
}, },
{ {
"description": "Label images", "description": "Label images",
"matchDatasources": ["docker"], "matchDatasources": [
"addLabels": ["image"], "docker"
],
"addLabels": [
"image"
],
"automerge": false "automerge": false
}, },
{ {
"description": "Automerge image patches", "description": "Automerge image patches",
"matchUpdateTypes": ["patch", "digest"], "matchUpdateTypes": [
"matchDatasources": ["docker"], "patch",
"addLabels": ["image", "automerge"], "digest"
],
"matchDatasources": [
"docker"
],
"addLabels": [
"image",
"automerge"
],
"automerge": true, "automerge": true,
"minimumReleaseAge": "1 days" "minimumReleaseAge": "1 days"
}, },
{ {
"description": "Automerge image updates for certain applications", "description": "Automerge image updates for certain applications",
"matchUpdateTypes": ["minor"], "matchUpdateTypes": [
"matchDatasources": ["docker"], "minor"
],
"matchDatasources": [
"docker"
],
"matchPackageNames": [ "matchPackageNames": [
"ghcr.io/advplyr/audiobookshelf", "ghcr.io/advplyr/audiobookshelf",
"ghcr.io/gethomepage/homepage", "ghcr.io/gethomepage/homepage",
@@ -76,7 +110,10 @@
"ghcr.io/prometheus-community/charts/kube-prometheus-stack", "ghcr.io/prometheus-community/charts/kube-prometheus-stack",
"vectorim/element-web" "vectorim/element-web"
], ],
"addLabels": ["image", "automerge"], "addLabels": [
"image",
"automerge"
],
"automerge": true, "automerge": true,
"minimumReleaseAge": "2 days" "minimumReleaseAge": "2 days"
} }