From 85266cb50bd1c11356eebfe6cd2fc67cd8025786 Mon Sep 17 00:00:00 2001 From: Patrick Roddy Date: Wed, 11 Oct 2023 11:05:02 +0100 Subject: [PATCH] Make default config only work for certain managers, as before (#2) This was the config in `UCL-ARC/renovate-config` and I accidentally replaced it with my own. Was bound to make a mistake somewhere. Essentially, for now, only do automerging for `pre-commit`/`github-actions`. --- renovate/default-config.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/renovate/default-config.json b/renovate/default-config.json index e13cf95..3e9ec3f 100644 --- a/renovate/default-config.json +++ b/renovate/default-config.json @@ -3,19 +3,22 @@ "extends": [ "config:base", "schedule:weekdays", - ":automergeBranch", - ":automergeDigest", - ":automergeMinor", - ":automergePatch", ":disableDependencyDashboard", ":enablePreCommit" ], "commitMessageAction": "Renovate:", "packageRules": [ + { + "description": "Automatically merge minor and patch-level updates", + "automerge": true, + "automergeType": "branch", + "matchUpdateTypes": ["digest", "minor", "patch"], + "matchManagers": ["github-actions", "pre-commit"] + }, { "description": "Shorten commit titles", "commitMessageTopic": "{{depName}}", - "matchManagers": ["bundler", "github-actions", "pre-commit"] + "matchManagers": ["github-actions", "pre-commit"] } ] }