From 28f5fca2d92db766c23ed3ce77a84e50f2b27c46 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 30 Jan 2022 16:43:28 +0100 Subject: [PATCH] fix(ci): add package rules --- renovate.json | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index 26fed0d..f977a5c 100644 --- a/renovate.json +++ b/renovate.json @@ -3,6 +3,23 @@ "automergeStrategy": "merge-commit", "automergeType": "pr", "assignees": [ "volker.raschek" ], + "labels": [ "renovate" ], + "packageRules": [ + { + "addLabels": [ "renovate/drone-runner", "renovate/automerge" ], + "automerge": true, + "matchManagers": "droneci", + "matchUpdateTypes": [ "minor", "patch"] + }, + { + "addLabels": [ "renovate/drone-runner", "renovate/automerge" ], + "automerge": false, + "matchPackageNames": [ "drone-runner" ], + "matchManagers": [ "regex" ] + } + ], + "rebaseLabel": "renovate/rebase", + "rebaseWhen": "behind-base-branch", "regexManagers": [ { "description": "Update container image reference", @@ -12,8 +29,9 @@ "matchStrings": [ "appVersion: \"(?.*?)\"\\s+" ], - "depNameTemplate": "docker.io/drone/drone-runner-kube", - "datasourceTemplate": "docker" + "datasourceTemplate": "docker", + "depNameTemplate": "drone-runner", + "lookupNameTemplate": "docker.io/drone/drone-runner-kube" } ] -} \ No newline at end of file +}