{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:base"
  ],
  "enabledManagers": [
    "docker-compose",
    "github-actions"
  ],
  "gitIgnoredAuthors": [
    "githubaction@githubaction.com"
  ],
  "rebaseWhen": "never",
  "packageRules": [
    {
      "matchPackageNames": [
        "actions/checkout",
        "renovatebot/github-action"
      ],
      "automerge": true
    },
    {
      "matchFileNames": [
        "apps/postgresql/pg*/*.yml"
      ],
      "allowedVersions": "/^pg14*/"
    },
    {
      "matchFileNames": [
        "apps/postgresql/pg*/*.yml"
      ],
      "allowedVersions": "/^pg15*/"
    },
    {
      "matchFileNames": [
        "apps/postgresql/pg*/*.yml"
      ],
      "allowedVersions": "/^pg16*/"
    },
    {
      "matchFileNames": [
        "apps/redis/6.2.*/*.yml"
      ],
      "allowedVersions": "/^6.2.*/"
    },
    {
      "matchFileNames": [
        "apps/redis/7.2.*/*.yml"
      ],
      "allowedVersions": "/^7.2.*/"
    },
    {
      "matchFileNames": [
        "apps/mysql/5.7.*/*.yml"
      ],
      "allowedVersions": "/^5.7.*/"
    },
    {
      "matchFileNames": [
        "apps/mysql/8.*/*.yml"
      ],
      "allowedVersions": "/^8.*/"
    },
    {
      "matchFileNames": [
        "apps/qbittorrent/4.*.*/*.yml"
      ],
      "allowedVersions": "/^4.*.*/"
    },
    {
      "matchFileNames": [
        "apps/transmission/4.*.*/*.yml"
      ],
      "allowedVersions": "/^4.*.*/"
    },
    {
      "matchPackageNames": [
        "emby/embyserver"
      ],
      "allowedVersions": "/^4\\.8\\.\\d+\\.\\d+$/"
    },
    {
      "matchPackageNames": [
        "amilys/embyserver"
      ],
      "allowedVersions": "/^4\\.8\\.\\d+\\.\\d+$/"
    },
    {
      "matchPackageNames": [
        "photoprism/photoprism"
      ],
      "versioning": "regex:^(?<major>\\d{2})(?<minor>\\d{2})(?<patch>\\d{2})$"
    },
    {
      "matchDatasources": [
        "docker"
      ],
      "matchPackageNames": [
        "ghcr.io/umami-software/umami"
      ],
      "versioning": "docker"
    },
    {
      "matchDatasources": [
        "docker"
      ],
      "matchPackageNames": [
        "ghcr.io/umami-software/*"
      ],
      "versioning": "docker"
    }
  ],
  "prCreation": "immediate"
}