This makes it possible for Renovate to detect updates such as from `x.x.x-0` to `x.x.x-1`. References: - https://docs.renovatebot.com/modules/versioning/loose/ - https://docs.renovatebot.com/configuration-options/#versioning Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
37 lines
889 B
JSON
37 lines
889 B
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended"
|
|
],
|
|
"labels": [
|
|
"dependencies"
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/defaults/main.yml$/"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?(?:_version|_tag)\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
|
|
]
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"ignoreUnstable": false,
|
|
"versioning": "loose",
|
|
"matchSourceUrls": [
|
|
"https://github.com/devture/com.devture.ansible.role{/,}**",
|
|
"https://github.com/mother-of-all-self-hosting{/,}**"
|
|
]
|
|
}
|
|
],
|
|
"ignoreDeps": [
|
|
"ghcr.io/matrixgpt/matrix-chatgpt-bot"
|
|
],
|
|
"pre-commit": {
|
|
"enabled": true
|
|
}
|
|
}
|