From 4366d39da38d2b821d639530d9e0bec549536db7 Mon Sep 17 00:00:00 2001 From: Eduard Marbach Date: Mon, 28 Oct 2024 17:22:05 +0100 Subject: [PATCH] ci: migrate renovate config --- .github/renovate.json5 | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 8e57a44..69afe57 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -2,12 +2,22 @@ $schema: "https://docs.renovatebot.com/renovate-schema.json", extends: [ "config:recommended", - "regexManagers:githubActionsVersions", + "customManagers:githubActionsVersions", "schedule:monthly", ":prConcurrentLimitNone", ":prHourlyLimitNone", ":pinVersions", ], + // remove examples from ignore path + ignorePaths: [ + "**/node_modules/**", + "**/bower_components/**", + "**/vendor/**", + "**/__tests__/**", + "**/test/**", + "**/tests/**", + "**/__fixtures__/**", + ], labels: ["dependencies"], packageRules: [ { @@ -27,9 +37,9 @@ }, { matchDatasources: ["docker"], - matchPackageNames: ["/(^|\\/)linuxserver\\/.*$/"], - // rename revision to build as it seems to fix missing updates for linuxserver rebuilds, maybe related to https://github.com/renovatebot/renovate/issues/27510 - versioning: "regex:^(?develop-)?v?(?\\d+)\\.(?\\d+)?\\.?(?\\d+)?(?:ubu\\d+)?(?:\\.|-)?(?\\w?\\d+)?-ls(?\\d+)$", + matchUpdateTypes: ["minor", "patch"], + groupName: "all docker updates (without major)", + groupSlug: "all-docker", }, ], }