diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 2c76c83b..2525ee93 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,6 +1,19 @@ { - "enabled": true, - "semanticCommits": "enabled", + "extends": [ + "config:base", + "docker:enableMajor", + ":disableRateLimiting", + ":dependencyDashboard", + ":semanticCommits", + ":enablePreCommit", + ":automergeDigest", + ":automergeBranch", + "github>onedr0p/home-ops//.github/renovate/autoMerge.json5", + "github>onedr0p/home-ops//.github/renovate/commitMessage.json5", + "github>onedr0p/home-ops//.github/renovate/labels.json5", + "github>onedr0p/home-ops//.github/renovate/semanticCommits.json5", + "helpers:pinGitHubActionDigests" + ], "dependencyDashboard": true, "dependencyDashboardTitle": "Renovate Dashboard 🤖", "suppressNotifications": ["prIgnoreNotification"], @@ -31,52 +44,5 @@ "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}", "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" } - ], - "packageRules": [ - // setup datasources - { - "matchDatasources": ["helm"], - "separateMinorPatch": true, - "ignoreDeprecated": true - }, - // global docker datasource settings - { - "matchDatasources": ["docker"], - "enabled": true, - "commitMessageTopic": "container image {{depName}}", - "commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}", - "matchUpdateTypes": ["major", "minor", "patch"] - }, - // add labels according to package and update types - { - "matchDatasources": ["docker"], - "matchUpdateTypes": ["major"], - "labels": ["renovate/image", "dep/major"] - }, - { - "matchDatasources": ["docker"], - "matchUpdateTypes": ["minor"], - "labels": ["renovate/image", "dep/minor"] - }, - { - "matchDatasources": ["docker"], - "matchUpdateTypes": ["patch"], - "labels": ["renovate/image", "dep/patch"] - }, - { - "matchDatasources": ["helm"], - "matchUpdateTypes": ["major"], - "labels": ["renovate/helm", "dep/major"] - }, - { - "matchDatasources": ["helm"], - "matchUpdateTypes": ["minor"], - "labels": ["renovate/helm", "dep/minor"] - }, - { - "matchDatasources": ["helm"], - "matchUpdateTypes": ["patch"], - "labels": ["renovate/helm", "dep/patch"] - } ] }