{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:recommended"
  ],
  "dependencyDashboard": true,
  "enabledManagers": [
    "bazel-module",
    "bazelisk",
    "cargo",
    "custom.regex",
    "github-actions",
    "gomod",
    "swift"
  ],
  "labels": [
    "dependencies"
  ],
  "packageRules": [
    {
      "description": "Bazel module artifact updates run in GitHub Actions so hosted Renovate does not need unsafe bazel mod deps execution",
      "matchManagers": [
        "bazel-module",
        "bazelisk",
        "custom.regex"
      ],
      "skipArtifactsUpdate": true
    },
    {
      "description": "Go packages import Bazel-generated protobuf packages, so Renovate's generic Go artifact updater cannot run ./...",
      "matchManagers": [
        "gomod"
      ],
      "skipArtifactsUpdate": true
    }
  ],
  "customManagers": [
    {
      "customType": "regex",
      "description": "Update the LLVM and Clang toolchain release",
      "managerFilePatterns": [
        "/^MODULE\\.bazel$/"
      ],
      "matchStrings": [
        "LLVM_VERSION = \"(?<currentValue>\\d+\\.\\d+\\.\\d+)\""
      ],
      "depNameTemplate": "llvm/llvm-project",
      "datasourceTemplate": "github-releases",
      "extractVersionTemplate": "^llvmorg-(?<version>\\d+\\.\\d+\\.\\d+)$",
      "versioningTemplate": "semver"
    }
  ],
  "lockFileMaintenance": {
    "enabled": true,
    "schedule": [
      "* * * * 1"
    ]
  },
  "prConcurrentLimit": 3,
  "prHourlyLimit": 3,
  "rebaseWhen": "behind-base-branch",
  "schedule": [
    "* * * * 1"
  ],
  "separateMajorMinor": true,
  "timezone": "America/Los_Angeles"
}
