1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

Update plugin-git and add renovate trigger (#3901)

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
Patrick Schratz 2024-07-13 22:43:13 +02:00 committed by GitHub
parent f61bff2fff
commit d1c0f781f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

10
.github/renovate.json vendored
View File

@ -1,6 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>woodpecker-ci/renovate-config"],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["shared/constant/constant.go"],
"matchStrings": [
"//\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s+DefaultCloneImage = \"docker.io/woodpeckerci/plugin-git:(?<currentValue>.*)\""
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
],
"packageRules": [
{
"matchCurrentVersion": "<1.0.0",

View File

@ -33,7 +33,8 @@ var DefaultConfigOrder = [...]string{
const (
// DefaultCloneImage can be changed by 'WOODPECKER_DEFAULT_CLONE_IMAGE' at runtime.
DefaultCloneImage = "docker.io/woodpeckerci/plugin-git:2.4.0"
// renovate: datasource=docker depName=woodpeckerci/plugin-git
DefaultCloneImage = "docker.io/woodpeckerci/plugin-git:2.5.1"
)
var TrustedCloneImages = []string{