Skip to content

Commit

Permalink
Update plugin-git and add renovate trigger (#3901)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
  • Loading branch information
pat-s and xoxys authored Jul 13, 2024
1 parent f61bff2 commit d1c0f78
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion shared/constant/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit d1c0f78

Please sign in to comment.