From 76a187b3262429f42b01d22de130b0be60aefd9b Mon Sep 17 00:00:00 2001 From: Mark Wilson <23439518+wlsnmrk@users.noreply.github.com> Date: Sat, 28 Sep 2024 18:15:23 -0400 Subject: [PATCH 1/2] chore: remove renovate loose-versioning rule * Removed "loose" versioning rule from renovate config * Removed allowedVersions rule for dotnet-sdk (no longer necessary) --- renovate.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index 8ea4779..bbec2e9 100644 --- a/renovate.json +++ b/renovate.json @@ -5,7 +5,6 @@ ":semanticCommits" ], "prHourlyLimit": 2, - "versioning": "loose", "packageRules": [ { "matchPackagePatterns": [ @@ -18,8 +17,7 @@ { "matchPackagePrefixes": [ "dotnet-sdk" - ], - "allowedVersions": "!/preview/" + ] }, { "matchPackagePrefixes": [ From d08b7138c66e4b62e321469ced26536b86a8ee7d Mon Sep 17 00:00:00 2001 From: Mark Wilson <23439518+wlsnmrk@users.noreply.github.com> Date: Sat, 28 Sep 2024 18:21:27 -0400 Subject: [PATCH 2/2] chore: migrate renovate config Updated renovate config with changes suggested by debug output: * Extends recommended config instead of base config * Uses matchPackageNames with regex instead of matchPackagePrefixes * Uses matchPackageNames intead of matchPackagePatterns --- renovate.json | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/renovate.json b/renovate.json index bbec2e9..5582272 100644 --- a/renovate.json +++ b/renovate.json @@ -1,34 +1,35 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base", + "config:recommended", ":semanticCommits" ], "prHourlyLimit": 2, "packageRules": [ { - "matchPackagePatterns": [ - "*" - ], "groupName": "all dependencies", "groupSlug": "all-deps", - "automerge": true + "automerge": true, + "matchPackageNames": + [ + "*" + ] }, { - "matchPackagePrefixes": [ - "dotnet-sdk" + "matchPackageNames": [ + "dotnet-sdk{/,}**" ] }, { - "matchPackagePrefixes": [ - "GodotSharp", - "Godot.NET.Sdk" + "matchPackageNames": [ + "GodotSharp{/,}**", + "Godot.NET.Sdk{/,}**" ], "allowedVersions": "/^$/" }, { - "matchPackagePrefixes": [ - "Chickensoft" + "matchPackageNames": [ + "Chickensoft{/,}**" ], "allowedVersions": "/^(\\d+\\.\\d+\\.\\d+)(-godot(\\d+\\.)+\\d+(-.*)?)?$/" }