From 1ba4751a244029a328599eb905a9d6313a5fac80 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Wed, 21 Dec 2022 16:24:44 -0500 Subject: [PATCH] chore: update renovate config Signed-off-by: Devin Buhl --- .github/renovate.json5 | 64 ++++++++++-------------------------------- 1 file changed, 15 insertions(+), 49 deletions(-) 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"] - } ] }