{
    "$schema": "https://docs.renovatebot.com/renovate-schema.json",
    "extends": [
        "config:recommended"
    ],
    "labels": [
        "Dependency"
    ],
    "minimumReleaseAge": "7 days",
    "prCreation": "not-pending",
    "schedule": [
        "* * 3 * *"
    ],
    "customManagers": [
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"brotli\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "brotli",
            "packageNameTemplate": "google/brotli",
            "datasourceTemplate": "github-releases",
            "extractVersionTemplate": "^v(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"bzip2\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "bzip2",
            "packageNameTemplate": "bzip2/bzip2",
            "datasourceTemplate": "gitlab-tags",
            "extractVersionTemplate": "^bzip2-(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"freetype\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "freetype",
            "packageNameTemplate": "freetype/freetype",
            "datasourceTemplate": "gitlab-tags",
            "registryUrlTemplate": "https://gitlab.freedesktop.org",
            "extractVersionTemplate": "^VER-(?<version>[\\d-]+)$",
            "versioningTemplate": "regex:^(?<major>\\d+)[.-](?<minor>\\d+)[.-](?<patch>\\d+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"fribidi\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "fribidi",
            "packageNameTemplate": "fribidi/fribidi",
            "datasourceTemplate": "github-releases",
            "extractVersionTemplate": "^v(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"harfbuzz\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "harfbuzz",
            "packageNameTemplate": "harfbuzz/harfbuzz",
            "datasourceTemplate": "github-releases"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"jpegturbo\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "jpegturbo",
            "packageNameTemplate": "libjpeg-turbo/libjpeg-turbo",
            "datasourceTemplate": "github-releases"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"lcms2\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "lcms2",
            "packageNameTemplate": "mm2/Little-CMS",
            "datasourceTemplate": "github-releases",
            "extractVersionTemplate": "^lcms(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"libavif\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "libavif",
            "packageNameTemplate": "AOMediaCodec/libavif",
            "datasourceTemplate": "github-releases",
            "extractVersionTemplate": "^v(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"libimagequant\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "libimagequant",
            "packageNameTemplate": "ImageOptim/libimagequant",
            "datasourceTemplate": "github-tags"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"libpng\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "libpng",
            "packageNameTemplate": "pnggroup/libpng",
            "datasourceTemplate": "github-tags",
            "extractVersionTemplate": "^v(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"libwebp\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "libwebp",
            "packageNameTemplate": "webmproject/libwebp",
            "datasourceTemplate": "github-tags",
            "extractVersionTemplate": "^v(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"libxcb\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "libxcb",
            "packageNameTemplate": "xorg/lib/libxcb",
            "datasourceTemplate": "gitlab-tags",
            "registryUrlTemplate": "https://gitlab.freedesktop.org",
            "extractVersionTemplate": "^libxcb-(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"openjpeg\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "openjpeg",
            "packageNameTemplate": "uclouvain/openjpeg",
            "datasourceTemplate": "github-releases",
            "extractVersionTemplate": "^v(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"tiff\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "tiff",
            "packageNameTemplate": "libtiff/libtiff",
            "datasourceTemplate": "gitlab-tags",
            "extractVersionTemplate": "^v(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"xz\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "xz",
            "packageNameTemplate": "tukaani-project/xz",
            "datasourceTemplate": "github-releases",
            "extractVersionTemplate": "^v(?<version>.+)$"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"zlib-ng\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "zlib-ng",
            "packageNameTemplate": "zlib-ng/zlib-ng",
            "datasourceTemplate": "github-releases"
        },
        {
            "customType": "regex",
            "managerFilePatterns": ["/^\\.github/dependencies\\.json$/"],
            "matchStrings": ["\"zstd\":\\s*\"(?<currentValue>\\d+[^\"]*)\""],
            "depNameTemplate": "zstd",
            "packageNameTemplate": "facebook/zstd",
            "datasourceTemplate": "github-releases",
            "extractVersionTemplate": "^v(?<version>.+)$"
        }
    ],
    "ignoreDeps": ["numpy"],
    "packageRules": [
        {
            "groupName": "github-actions",
            "matchManagers": ["github-actions"],
            "separateMajorMinor": false
        },
        {
            "matchManagers": ["github-actions"],
            "matchPackageNames": ["google/oss-fuzz"],
            "minimumReleaseAge": "0 days"
        }
    ]
}
