{
  "$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",
      "addLabels": [ "renovate/droneci", "renovate/automerge" ],
      "automerge": true,
      "matchManagers": "droneci",
      "matchUpdateTypes": [ "minor", "patch"]
    },
    {
      "description": "Automatically update minor and patch versions of go modules",
      "addLabels": [ "renovate/gomod", "renovate/automerge" ],
      "automerge": true,
      "matchBaseBranches": [ "master" ],
      "matchManagers": [ "gomod" ],
      "matchUpdateTypes": [ "minor", "patch" ]
    },
    {
      "description": "Prepare MR for major update minor of go modules",
      "addLabels": [ "renovate/gomod" ],
      "automerge": false,
      "matchBaseBranches": [ "master" ],
      "matchManagers": [ "gomod" ],
      "matchUpdateTypes": [ "major" ]
    }
  ],
  "postUpdateOptions": [
    "gomodTidy"
  ],
  "rebaseLabel": "renovate/rebase",
  "rebaseWhen": "behind-base-branch"
}