From 910c21ab35cea57059d5237a6832a06fc924c9be Mon Sep 17 00:00:00 2001 From: "Felt, Nicholas" Date: Wed, 13 Nov 2024 11:28:18 -0800 Subject: [PATCH] chore: Update renovate configuration to group Python version updates together for Dockerfiles and the pyproject.toml file --- .github/renovate.json | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 73dc217e..d1e82788 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -12,9 +12,10 @@ "packageRules": [ { "additionalBranchPrefix": "{{#if (equals manager 'github-actions')}}gh-actions{{else}}{{categories}}{{/if}}-deps/", - "description": "Set the branch prefix and minimum release age for all updates", - "matchPackageNames": [ - "*" + "description": "Set the branch prefix and minimum release age for all updates except the main Python version", + "matchDepNames": [ + "*", + "!python" ], "minimumReleaseAge": "5 days" }, @@ -133,6 +134,21 @@ "matchPackageNames": [ "*" ] + }, + { + "additionalBranchPrefix": "", + "commitMessageSuffix": " in all dependant actions", + "description": "Group together all Python (official) version updates", + "groupName": "python version", + "matchDepNames": [ + "python" + ], + "matchManagers": [ + "dockerfile", + "poetry" + ], + "semanticCommitScope": "python-version", + "semanticCommitType": "chore" } ], "platformCommit": "enabled",