Configure renovate #2

Merged
Bluemedia merged 3 commits from oliver/configure_renovate into main 2024-04-06 00:53:14 +02:00
2 changed files with 13 additions and 2 deletions
Showing only changes of commit ed2b67f29d - Show all commits

View file

@ -12,7 +12,8 @@ steps:
clone:
image: alpine/git
commands:
- git clone --depth 1 --branch v1.3.4 https://github.com/turt2live/matrix-media-repo.git .
# renovate: datasource=github-releases depName=turt2live/matrix-media-repo versioning=semver-coerced
- git clone --branch v1.3.4 --depth 1 https://github.com/turt2live/matrix-media-repo.git .
docker:
image: woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]

View file

@ -1,3 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^\\.woodpecker/.*\\.ya?ml$"],
"matchStrings": [
"datasource=(?<datasource>.*?)( registryUrl=(?<registryUrl>[^ ]*))? depName=(?<depName>[^ ]*)( versioning=(?<versioning>.*?))?\\s*- git clone --branch (?<currentValue>[^ ]*)\\s.*"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}