diff --git a/renovate.json b/renovate.json index 69a6494..6be35d3 100644 --- a/renovate.json +++ b/renovate.json @@ -1,40 +1,29 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "assignees": [ "volker.raschek" ], - "labels": [ "renovate" ], - "packageRules": [ - { - "addLabels": [ "renovate/droneci", "renovate/automerge" ], - "automerge": true, - "matchManagers": "droneci", - "matchUpdateTypes": [ "minor", "patch"] - }, - { - "description": "Automatically update patch version of used container images in docker files", - "addLabels": [ "renovate/container-image", "renovate/automerge" ], - "automerge": true, - "matchBaseBranches": [ "master" ], - "matchManagers": [ "dockerfile" ], - "matchUpdateTypes": [ "patch" ] - }, - { - "addLabels": [ "renovate/yamllint", "renovate/automerge" ], - "automerge": false, - "matchPackageNames": [ "yamllint" ], - "matchManagers": [ "regex" ] - } - ], - "rebaseLabel": "renovate/rebase", - "rebaseWhen": "behind-base-branch", - "regexManagers": [ + "customManagers": [ { + "customType": "regex", "description": "Update version", "fileMatch": [ "^Makefile$" ], "matchStrings": [ - "YAMLLINT_VERSION\\?=(?.*) # renovate: datasource=(?.*) depName=(?.*)( lookupName=(?.*))?( versioning=(?.*))?" + "^[^\\s]*VERSION(:|\\?)?=\"?(?[\\w.]*)\"? # renovate:([\\s]+datasource=['\"]*(?[^\\s\"']*)['\"]*|[\\s]+depName=['\"]*(?[^\\s'\"]*)['\"]*|[\\s]+registryUrl=['\"]*(?[^\\s'\"]*)['\"]*|[\\s]+versioning=['\"]*(?[^\\s'\"]*)['\"]*)*" ] } - ] + ], + "labels": [ "renovate" ], + "packageRules": [ + { + "description": "Automatically update grouped public container images - patch", + "addLabels": ["renovate/automerge","renovate/container-images"], + "automerge": true, + "enabled": true, + "matchDatasources": ["docker"], + "matchUpdateTypes": ["minor", "patch"] + } + ], + "rebaseLabel": "renovate/rebase", + "rebaseWhen": "behind-base-branch" }