From 3d5355dfc379d48438e09a789d49180ac4516081 Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Fri, 12 Sep 2025 17:50:08 +0100 Subject: [PATCH] chore(renovate): Add auto-merge for renovatebot and reorganise package rules Enable automatic merging of ghcr.io/renovatebot/renovate docker image updates to reduce manual maintenance overhead. Reorganise package rules by manager type (cargo, github-actions, docker) and add missing description for cargo concurrency limit rule to improve config maintainability. --- renovate.json | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/renovate.json b/renovate.json index ca85cfe7..8e5735b1 100644 --- a/renovate.json +++ b/renovate.json @@ -30,10 +30,15 @@ }, "packageRules": [ { - "description": "Batch minor and patch GitHub Actions updates", - "matchManagers": ["github-actions"], - "matchUpdateTypes": ["minor", "patch"], - "groupName": "github-actions-non-major" + "description": "Batch patch-level Rust dependency updates", + "matchManagers": ["cargo"], + "matchUpdateTypes": ["patch"], + "groupName": "rust-patch-updates" + }, + { + "description": "Limit concurrent Cargo PRs", + "matchManagers": ["cargo"], + "prConcurrentLimit": 5 }, { "description": "Group Rust toolchain updates into a single PR", @@ -42,25 +47,27 @@ "groupName": "rust-toolchain" }, { - "description": "Group lockfile updates into a single PR", - "matchUpdateTypes": ["lockFileMaintenance"], - "groupName": "lockfile-maintenance" - }, - { - "description": "Batch patch-level Rust dependency updates", - "matchManagers": ["cargo"], - "matchUpdateTypes": ["patch"], - "groupName": "rust-patch-updates" - }, - { - "matchManagers": ["cargo"], - "prConcurrentLimit": 5 + "description": "Batch minor and patch GitHub Actions updates", + "matchManagers": ["github-actions"], + "matchUpdateTypes": ["minor", "patch"], + "groupName": "github-actions-non-major" }, { "description": "Pin forgejo artifact actions to prevent breaking changes", "matchManagers": ["github-actions"], "matchPackageNames": ["forgejo/upload-artifact", "forgejo/download-artifact"], "enabled": false + }, + { + "description": "Auto-merge renovatebot docker image updates", + "matchDatasources": ["docker"], + "matchPackageNames": ["ghcr.io/renovatebot/renovate"], + "automerge": true + }, + { + "description": "Group lockfile updates into a single PR", + "matchUpdateTypes": ["lockFileMaintenance"], + "groupName": "lockfile-maintenance" } ], "customManagers": [