0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-15 04:40:39 +00:00

fix: rework golang version groups

This commit is contained in:
Robert Kaussow 2024-11-07 09:57:35 +01:00
parent 34cafdffe5
commit 94a5a3fb63
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -41,22 +41,22 @@
"description": "Extract version from xgo container tags", "description": "Extract version from xgo container tags",
"matchDatasources": ["docker"], "matchDatasources": ["docker"],
"matchPackagePatterns": ["techknowlogick/xgo"], "matchPackagePatterns": ["techknowlogick/xgo"],
"versioning": "regex:^go-(?<major>\\d+)\\.(?<minor>\\d+)\\.x$" "versioning": "regex:^go-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
}, },
{ {
"description": "Group golang version updates", "description": "Group golang version updates",
"groupName": "update golang", "groupName": "golang",
"commitMessage": "{{{commitMessagePrefix}}} {{#if groupName}}{{{groupName}}}{{else}}update {{{depName}}}{{/if}} {{updateType}} version",
"matchDatasources": ["docker", "golang-version"], "matchDatasources": ["docker", "golang-version"],
"matchUpdateTypes": ["minor", "major"], "matchUpdateTypes": ["minor", "major"],
"matchPackagePatterns": ["techknowlogick/xgo", "golang", "go"] "matchPackagePatterns": ["techknowlogick/xgo", "golang", "go"]
}, },
{ {
"groupName": "Autmerge update go patch version", "description": "Autmerge update go patch version",
"matchDatasources": ["golang-version"], "extends": ["schedule:weekly"],
"groupName": "golang patch",
"matchDatasources": ["docker", "golang-version"],
"matchUpdateTypes": ["patch"], "matchUpdateTypes": ["patch"],
"matchPackagePatterns": ["go"], "matchPackagePatterns": ["techknowlogick/xgo", "golang", "go"]
"automerge": true
} }
] ]
} }