{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["github>woodpecker-ci/renovate-config"],
  "prConcurrentLimit": 5,
  "packageRules": [
    {
      "matchManagers": ["docker-compose"],
      "matchFileNames": ["docker-compose.gitpod.yml"],
      "labels": ["devx"]
    },
    {
      "matchManagers": ["gomod", "npm", "dockerfile"],
      "labels": ["dependencies"]
    },
    {
      "matchManagers": ["woodpecker"],
      "labels": ["build"]
    },
    {
      "groupName": "golang (lang)",
      "matchPackagePatterns": ["^golang$", "xgo"],
      "matchUpdateTypes": ["minor", "patch"]
    },
    {
      "groupName": "golang (packages)",
      "matchManagers": ["gomod"],
      "matchUpdateTypes": ["minor", "patch"]
    },
    {
      "groupName": "web npm deps non-major",
      "matchManagers": ["npm"],
      "matchUpdateTypes": ["minor", "patch"],
      "matchFileNames": ["web/package.json"]
    },
    {
      "groupName": "docs npm deps non-major",
      "matchManagers": ["npm"],
      "matchUpdateTypes": ["minor", "patch"],
      "matchFileNames": ["docs/**/package.json"]
    },
    {
      "matchDatasources": ["docker"],
      "matchPackagePatterns": ["xgo"],
      "versioning": "regex:^go-(?<major>\\d+)?(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))$"
    }
  ]
}
