0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-14 18:30:40 +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",
"matchDatasources": ["docker"],
"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",
"groupName": "update golang",
"commitMessage": "{{{commitMessagePrefix}}} {{#if groupName}}{{{groupName}}}{{else}}update {{{depName}}}{{/if}} {{updateType}} version",
"groupName": "golang",
"matchDatasources": ["docker", "golang-version"],
"matchUpdateTypes": ["minor", "major"],
"matchPackagePatterns": ["techknowlogick/xgo", "golang", "go"]
},
{
"groupName": "Autmerge update go patch version",
"matchDatasources": ["golang-version"],
"description": "Autmerge update go patch version",
"extends": ["schedule:weekly"],
"groupName": "golang patch",
"matchDatasources": ["docker", "golang-version"],
"matchUpdateTypes": ["patch"],
"matchPackagePatterns": ["go"],
"automerge": true
"matchPackagePatterns": ["techknowlogick/xgo", "golang", "go"]
}
]
}