{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "packageRules": [
    {
      "addLabels": [
        "renovate/automerge",
        "renovate/golang"
      ],
      "automerge": true,
      "enabled": true,
      "excludePackagePatterns": [
        "^github\\.com/docker/docker",
        "^gopkg\\.in/yaml"
      ],
      "groupName": "go modules",
      "groupSlug": "go-modules",
      "matchDatasources": [
        "go"
      ],
      "matchUpdateTypes": [
        "minor",
        "patch"
      ]
    },
    {
      "addLabels": [
        "renovate/automerge",
        "renovate/golang"
      ],
      "automerge": false,
      "enabled": false,
      "matchPackagePatterns": [
        "^github\\.com/docker/docker",
        "^gopkg\\.in/yaml"
      ],
      "matchDatasources": [
        "go"
      ],
      "matchUpdateTypes": [
        "major"
      ]
    }
  ],
  "postUpdateOptions": [
    "gomodTidy"
  ]
}