1
Fork 0

Format Renovate config

This commit is contained in:
Lucas Schwiderski 2025-05-30 11:56:49 +02:00
parent 7461606276
commit d9222a46d3
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -1,57 +1,57 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "extends": [
"config:recommended", "config:recommended",
":combinePatchMinorReleases", ":combinePatchMinorReleases",
":enableVulnerabilityAlerts" ":enableVulnerabilityAlerts"
], ],
"prConcurrentLimit": 10, "prConcurrentLimit": 10,
"branchPrefix": "renovate/", "branchPrefix": "renovate/",
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",
"description": "Update _VERSION variables in Dockerfiles", "description": "Update _VERSION variables in Dockerfiles",
"fileMatch": [ "fileMatch": [
"(^|/|\\.)Dockerfile$", "(^|/|\\.)Dockerfile$",
"(^|/)Dockerfile\\.[^/]*$" "(^|/)Dockerfile\\.[^/]*$"
], ],
"matchStrings": [ "matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s" "# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
] ]
}, },
{ {
"customType": "regex", "customType": "regex",
"description": "Update git-ref pip packages", "description": "Update git-ref pip packages",
"fileMatch": [ "fileMatch": [
"(^|/)requirements.txt$" "(^|/)requirements.txt$"
], ],
"matchStrings": [ "matchStrings": [
"(# renovate:( branch=(?<currentValue>\\S+))?\\n)?git\\+(?<packageName>https://.*?)(\\.git)?@(?<currentDigest>.*?)\\n" "(# renovate:( branch=(?<currentValue>\\S+))?\\n)?git\\+(?<packageName>https://.*?)(\\.git)?@(?<currentDigest>.*?)\\n"
], ],
"currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else}}master{{/if}}", "currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else}}master{{/if}}",
"datasourceTemplate": "git-refs", "datasourceTemplate": "git-refs",
"versioningTemplate": "none" "versioningTemplate": "none"
} }
], ],
"packageRules": [ "packageRules": [
{ {
"matchDatasources": [ "matchDatasources": [
"github-release" "github-release"
], ],
"matchPackageNames": [ "matchPackageNames": [
"llvm/llvm-project" "llvm/llvm-project"
], ],
"extractVersion": "^llvmorg-(?<version>\\d+)\\.\\d+\\.\\d+$" "extractVersion": "^llvmorg-(?<version>\\d+)\\.\\d+\\.\\d+$"
}, },
{ {
"matchPackageNames": [ "matchPackageNames": [
"nodejs/node", "nodejs/node",
"nodejs" "nodejs"
], ],
"matchDatasources": [ "matchDatasources": [
"docker" "docker"
], ],
"versioning": "node" "versioning": "node"
} }
] ]
} }