From 760df1c8f5aed08475160b123b72e6c68c3c420c Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Fri, 23 Feb 2024 22:05:59 +0100 Subject: [PATCH] update renovate settings * inherit from cake-contrib/renovate-presets:cake-recipe * inherit from cake-contrib/renovate-presets:github-actions * disable updating Cake, for non major updates * add the "breaking change" label to all Cake major updates * add the milestone vNext to each PR --- .github/renovate.json | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 392c3ce5..a8730968 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,10 +1,21 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ "github>nils-a/renovate-config" ], + "extends": [ + "github>cake-contrib/renovate-presets:cake-recipe", + "github>cake-contrib/renovate-presets:github-actions" ], "packageRules": [ { - "matchPackageNames": ["cake.tool", "Cake.Core"], + "description": "Update Cake references only for major updates.", + "matchPackageNames": ["Cake.Core", "Cake.Common"], + "matchUpdateTypes": ["minor", "patch"], "enabled": false + }, + { + "description": "Updates to Cake.Core references are breaking.", + "matchPackageNames": ["Cake.Core"], + "matchUpdateTypes": ["major"], + "labels": ["Breaking Change"] } - ] -} \ No newline at end of file + ], + "milestone": 18 +}