diff --git a/renovate.json b/renovate.json index d252081..c4cb68b 100644 --- a/renovate.json +++ b/renovate.json @@ -1,35 +1,78 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "assigneesFromCodeOwners": true, "labels": [ "renovate" ], "packageRules": [ { - "description": "Automatically update minor and patch versions of used drone-ci images", + "automerge": false, + "description": "Disable all package updates by default", + "enabled": false, + "matchPackagePatterns": [ + "*" + ], + "matchUpdateTypes": [ + "major", + "minor", + "patch", + "pin", + "digest" + ] + }, + { "addLabels": [ "renovate/droneci", "renovate/automerge" ], "automerge": true, + "description": "Automatically update minor and patch versions of used drone-ci images", + "enabled": true, "matchManagers": "droneci", - "matchUpdateTypes": [ "minor", "patch"] + "matchUpdateTypes": [ + "minor", + "patch" + ] }, { - "description": "Automatically update minor and patch versions of go modules", - "addLabels": [ "renovate/gomod", "renovate/automerge" ], + "addLabels": [ + "renovate/automerge", + "renovate/github-action" + ], "automerge": true, - "matchBaseBranches": [ "master" ], - "matchManagers": [ "gomod" ], - "matchUpdateTypes": [ "minor", "patch" ] + "description": "Automatically update public github-actions dependencies", + "enabled": true, + "matchBaseBranches": [ + "master" + ], + "matchManagers": [ + "github-actions" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ] }, { - "description": "Prepare MR for major update minor of go modules", - "addLabels": [ "renovate/gomod" ], - "automerge": false, - "matchBaseBranches": [ "master" ], - "matchManagers": [ "gomod" ], - "matchUpdateTypes": [ "major" ] + "addLabels": [ + "renovate/automerge", + "renovate/golang" + ], + "automerge": true, + "description": "Automatically update public go dependencies", + "enabled": true, + "matchBaseBranches": [ + "master" + ], + "matchDatasources": [ + "go" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ] } ], + "platformAutomerge": true, "postUpdateOptions": [ "gomodTidy" ], + "prConcurrentLimit": 0, + "prHourlyLimit": 0, "rebaseLabel": "renovate/rebase", "rebaseWhen": "behind-base-branch" }