diff --git a/renovate.json b/renovate.json index a53e10c..b1cb606 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", "renovate/automerge" ], + "automerge": true, + "matchManagers": "droneci", + "matchUpdateTypes": [ "minor", "patch"] + }, + { + "addLabels": [ "renovate/drone", "renovate/automerge" ], + "automerge": false, + "matchPackageNames": [ "drone" ], + "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", - "datasourceTemplate": "docker" + "datasourceTemplate": "docker", + "depNameTemplate": "drone", + "lookupNameTemplate": "docker.io/drone/drone" } ] -} \ No newline at end of file +}