diff --git a/renovate.json b/renovate.json index 83e8cbc38..6566b6054 100644 --- a/renovate.json +++ b/renovate.json @@ -5,6 +5,14 @@ "mergeConfidence:all-badges", ":rebaseStalePrs" ], + "timezone": "US/Central", + "labels": [], + "prHourlyLimit": 0, + "prConcurrentLimit": 0, + "pinDigests": true, + "baseBranchPatterns": [ + "main" + ], "customManagers": [ { "description": "Update appVersion in Chart.yaml", @@ -53,14 +61,45 @@ "versioningTemplate": "semver" } ], - "timezone": "US/Central", - "labels": [], - "prHourlyLimit": 0, - "prConcurrentLimit": 0, - "baseBranchPatterns": [ - "main" - ], "packageRules": [ + { + "description": "Disable updates to digests", + "matchUpdateTypes": [ + "digest" + ], + "enabled": false + }, + { + "description": "Label charts and docker, merged", + "matchManagers": [ + "custom.regex", + "helm-values" + ], + "groupName": "{{#if packageName}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' packageName)}}}{{else}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' depName)}}}{{/if}}", + "groupSlug": "unified-{{{groupName}}}", + "addLabels": [ + "image" + ], + "automerge": false + }, + { + "description": "Automerge charts and docker, merged", + "matchUpdateTypes": [ + "patch" + ], + "matchManagers": [ + "custom.regex", + "helm-values" + ], + "groupName": "{{#if packageName}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' packageName)}}}{{else}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' depName)}}}{{/if}}", + "groupSlug": "unified-{{{groupName}}}", + "addLabels": [ + "image", + "automerge" + ], + "automerge": true, + "minimumReleaseAge": "1 days" + }, { "description": "Label charts", "matchDatasources": [ @@ -101,19 +140,6 @@ "automerge": true, "automergeType": "branch" }, - { - "description": "Label images, helm", - "matchManagers": [ - "custom.regex", - "helm-values" - ], - "groupName": "{{#if packageName}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' packageName)}}}{{else}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' depName)}}}{{/if}}", - "groupSlug": "unified-{{{groupName}}}", - "addLabels": [ - "image" - ], - "automerge": false - }, { "description": "Label images, docker", "matchDatasources": [ @@ -124,30 +150,10 @@ ], "automerge": false }, - { - "description": "Automerge image patches, helm", - "matchUpdateTypes": [ - "patch", - "digest" - ], - "matchManagers": [ - "custom.regex", - "helm-values" - ], - "groupName": "{{#if packageName}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' packageName)}}}{{else}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' depName)}}}{{/if}}", - "groupSlug": "unified-{{{groupName}}}", - "addLabels": [ - "image", - "automerge" - ], - "automerge": true, - "minimumReleaseAge": "1 days" - }, { "description": "Automerge image patches, docker", "matchUpdateTypes": [ - "patch", - "digest" + "patch" ], "matchDatasources": [ "docker"