diff --git a/renovate.json b/renovate.json index fc7e5c7..2c6dfc2 100644 --- a/renovate.json +++ b/renovate.json @@ -1,9 +1,37 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:recommended", - ":automergeMinor", - ":automergePatch", + "config:base", "schedule:automergeNonOfficeHours" - ] + ], + "labels": ["dependencies"], + "packageRules": [ + { + "matchPackagePrefixes": ["io.camunda.connectors.community"], + "enabled": false + }, + { + "matchBaseBranches": ["main"], + "matchUpdateTypes": ["minor"], + "automerge": true + }, + { + "matchManagers": ["maven"], + "matchBaseBranches": ["/^release/.*/"], + "matchUpdateTypes": ["major", "minor"], + "enabled": false + }, + { + "matchUpdateTypes": ["patch", "pin", "digest"], + "automerge": true + }, + { + "matchManagers": [ + "maven" + ], + "description" : "Exclude SNAPSHOT versions, renovate may suggest them for pre-release values.", + "matchPackagePatterns": [".*"], + "allowedVersions": "!/-SNAPSHOT$/" + } + ], + "baseBranches": ["main", "/^release/.*/"] }