curl/renovate.json
Viktor Szakats bd1cd21caa
renovate: merge two custom regex rules, escape dots
There are no longer envs ending with `_VER` in Circle CI config.

Follow-up to 17a669426f36b467dfd945b4b35f6211598b7977 #17537

Closes #20412
2026-01-23 15:58:16 +01:00

112 lines
2.8 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":disableDependencyDashboard"
],
"semanticCommitType": "ci",
"packageRules": [
{
"matchManagers": [
"github-actions"
],
"commitMessagePrefix": "GHA: ",
"labels": [
"CI"
],
"enabled": false
},
{
"matchUpdateTypes": [
"pin",
"pinDigest",
"digest"
],
"commitMessagePrefix": "GHA: ",
"labels": [
"CI"
]
},
{
"matchManagers": [
"custom.regex"
],
"commitMessagePrefix": "GHA: ",
"labels": [
"CI"
]
},
{
"matchDepNames": [
"debian"
],
"matchFileNames": [
".github/workflows/linux-old.yml"
],
"enabled": false
},
{
"description": "Schedule package updates on the 10th of each month",
"matchPackageNames": [
"/codeql/i",
"/ruff/i"
],
"groupName": "monthly updates by name",
"schedule": [
"* * 10 * *"
]
},
{
"description": "Schedule package updates on the 10th of each month",
"matchSourceUrls": [
"**/awslabs/**"
],
"groupName": "monthly updates by URL",
"schedule": [
"* * 10 * *"
]
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/^\\.circleci/config\\.yml/",
"/^\\.github/workflows/.*\\.yml$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?_VERSION:\\s*(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
},
{
"customType": "regex",
"managerFilePatterns": [
"/^\\.github/workflows/http3-linux\\.yml$/",
"/^\\.github/workflows/linux\\.yml$/"
],
"matchStrings": [
"OPENSSL_VERSION: (?<currentValue>.*)\\s"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "openssl/openssl",
"versioningTemplate": "semver",
"extractVersionTemplate": "^openssl-(?<version>.*)$"
},
{
"customType": "regex",
"managerFilePatterns": [
"/^\\.github/workflows/linux\\.yml$/"
],
"matchStrings": [
"OPENLDAP_VERSION: (?<currentValue>.*)\\s"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "openldap/openldap",
"versioningTemplate": "semver",
"extractVersionTemplate": "^OPENLDAP_REL_ENG_(?<major>\\d+)_(?<minor>\\d+)_(?<patch>\\d+)$"
}
]
}