From afb80d1af97fcfe485cdd6b37d098bb79dd145bb Mon Sep 17 00:00:00 2001 From: Alex Lowe Date: Fri, 13 Sep 2024 20:09:01 -0400 Subject: [PATCH] chore(renovate): fewer PRs to hotfix branches (#237) Renovate should only PR to hotfix branches for non-dev patch updates. --- .github/renovate.json5 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 2a7d636..a6959dd 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -32,7 +32,11 @@ // Automerge patches, pin changes and digest changes. // Also groups these changes together. groupName: "bugfixes", - excludeDepPatterns: ["lint/.*", "types/.*"], + excludeDepPatterns: [ + "lint/.*", + "types/.*", + "pyright", // Pyright needs to be done separately. + ], matchUpdateTypes: ["patch", "pin", "digest"], prPriority: 3, // Patches should go first! automerge: true @@ -57,6 +61,7 @@ //Do all pydantic-related updates together groupName: "pydantic etc.", matchPackagePatterns: ["^pydantic"], + matchBaseBranches: ["$default"], // Only do minor releases on main }, { // Minor changes can be grouped and automerged for dev dependencies, but are also deprioritised. @@ -91,7 +96,8 @@ ], matchUpdateTypes: ["minor", "patch", "pin", "digest"], prPriority: -1, - automerge: true + automerge: true, + matchBaseBranches: ["$default"], // Not for hotfix branches }, { // Documentation related updates