Format Renovate config
This commit is contained in:
parent
7461606276
commit
d9222a46d3
1 changed files with 55 additions and 55 deletions
110
.renovaterc
110
.renovaterc
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue