From 27670abc263c4d4c55c1a3a5b2a05c27fc15ca55 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Wed, 18 Dec 2024 17:23:07 +0800 Subject: [PATCH] chore: draftPR in some cases --- renovate.json | 116 ++++++++++++++++++++++++++++---------------------- 1 file changed, 64 insertions(+), 52 deletions(-) diff --git a/renovate.json b/renovate.json index d3a71c9d..2bf6a9ec 100644 --- a/renovate.json +++ b/renovate.json @@ -1,54 +1,66 @@ { - "$schema":"https://docs.renovatebot.com/renovate-schema.json", - "extends":[ - "mergeConfidence:all-badges", - "config:recommended", - ":disableRateLimiting", - "helpers:pinGitHubActionDigests" - ], - "dependencyDashboard":true, - "platformCommit":"disabled", - "prHourlyLimit":0, - "labels":[ - "automated-dependencies" - ], - "packageRules":[ - { - "matchDatasources":[ - "docker" - ], - "matchPackageNames":[ - "ghcr.io/uselagoon/**", - "uselagoon/**" - ], - "groupName":"Lagoon service images" - }, - { - "matchManagers":[ - "github-actions" - ], - "groupName":"GitHub actions monthly minor/patch", - "matchUpdateTypes":[ - "minor", - "patch", - "digest" - ], - "schedule":[ - "on the first day of the month" - ], - "automerge":true, - "automergeType":"pr" - }, - { - "matchManagers":[ - "github-actions" - ], - "groupName":"GitHub actions major", - "matchUpdateTypes":[ - "major" - ], - "automerge":true, - "automergeType":"pr" - } - ] + "$schema":"https://docs.renovatebot.com/renovate-schema.json", + "extends":[ + "mergeConfidence:all-badges", + "config:recommended", + ":disableRateLimiting", + "helpers:pinGitHubActionDigests" + ], + "dependencyDashboard":true, + "platformCommit":"disabled", + "prHourlyLimit":0, + "labels":[ + "automated-dependencies" + ], + "packageRules":[ + { + "matchDatasources":[ + "docker" + ], + "matchPackageNames":[ + "ghcr.io/uselagoon/**", + "uselagoon/**" + ], + "groupName":"Lagoon service images" + }, + { + "matchManagers":[ + "github-actions" + ], + "groupName":"GitHub actions monthly minor/patch", + "matchUpdateTypes":[ + "minor", + "patch", + "digest" + ], + "schedule":[ + "on the first day of the month" + ], + "automerge":true, + "automergeType":"pr" + }, + { + "matchManagers":[ + "github-actions" + ], + "groupName":"GitHub actions major", + "matchUpdateTypes":[ + "major" + ], + "automerge":true, + "automergeType":"pr" + }, + { + "matchDatasources":[ + "docker" + ], + "draftPR":true + }, + { + "matchDatasources":[ + "helm" + ], + "draftPR":true + } + ] } \ No newline at end of file