{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:recommended",
    "group:allNonMajor",
    "schedule:weekly",
    ":semanticCommitTypeAll(chore)"
  ],
  "mode": "full",
  "addLabels":["area: dependencies"],
  "customManagers": [
    {
      "customType": "regex",
      "fileMatch": ["^\\.github/workflows/.*\\.ya?ml$"],
      "matchStrings": [
        "uses:\\s*golangci/golangci-lint-action@\\S+\\s+with:\\s+version:\\s*(?<currentValue>v[\\d.]+)"
      ],
      "datasourceTemplate": "github-releases",
      "depNameTemplate": "golangci/golangci-lint"
    }
  ],
  "packageRules": [
    {
      "matchManagers": ["github-actions"],
      "addLabels": ["area: github actions"]
    },
    {
      "matchCategories": ["js", "node"],
      "addLabels": ["lang: javascript"]
    },
    {
      "matchCategories": ["golang"],
      "addLabels": ["lang: go"]
    }
  ]
}
