From 11a866eaaa5004bfe9a952c181f27bfd445f60b3 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 31 Aug 2026 20:42:07 +0100 Subject: [PATCH] Refine Renovate grouping and update policy --- .github/renovate.json5 | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 54433b1b..233f26e0 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,7 +1,34 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["schedule:monthly", "helpers:pinGitHubActionDigestsToSemver"], + "extends": [ + "config:recommended", + "schedule:monthly", + "helpers:pinGitHubActionDigestsToSemver", + "replacements:all", + "abandonments:recommended" + ], + "configMigration": true, "dependencyDashboard": true, + "separateMajorMinor": false, + + // By default, Renovate will only create 2 PRs in any single hourly interval. + // But we only allow Renovate to create PRs between midnight and 4am on the first + // day of each month, so this is not sufficient in general. Per the docs, + // 0 means "no limit": + "prHourlyLimit": 0, + + // Similarly, by default, Renovate will not create any new PRs if it already has 10 open + // on this repo, but that isn't generally what we want: we generally want dependency update PRs + // for all available dependencies. Per the docs, 0 means "no limit": + // + "prConcurrentLimit": 0, + + // Conventions: we generally don't use semantic commits. + "semanticCommits": "disabled", + + // These notifications are very noisy. + "suppressNotifications": ["prEditedNotification"], + "enabledManagers": ["github-actions", "custom.regex", "pre-commit", "pep621"], "pre-commit": { "enabled": true @@ -27,8 +54,16 @@ "enabled": false }, { - "matchManagers": ["github-actions", "custom.regex", "pre-commit", "pep621"], - "groupName": "CI dependencies" + "matchFileNames": [".pre-commit-config.yaml"], + "groupName": "pre-commit dependencies" + }, + { + "matchFileNames": [".github/workflows/**"], + "groupName": "GitHub Actions dependencies" + }, + { + "matchManagers": ["pep621"], + "groupName": "Build dependencies" } ], "customManagers": [