0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-25 08:10:39 +00:00

chore: fix go version handling

This commit is contained in:
Robert Kaussow 2024-10-02 15:42:36 +02:00
parent 2901ba0995
commit 64ae5b66d2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -25,6 +25,23 @@
"matchDatasources": ["go"], "matchDatasources": ["go"],
"matchPackagePatterns": ["urfave/cli"], "matchPackagePatterns": ["urfave/cli"],
"matchUpdateTypes": ["pin", "digest", "patch", "minor"] "matchUpdateTypes": ["pin", "digest", "patch", "minor"]
},
{
"description": "Enable golang version updates",
"matchDatasources": ["golang-version"],
"rangeStrategy": "bump"
},
{
"description": "Disable golang toolchain updates",
"matchCategories": ["golang"],
"matchDepTypes": ["toolchain"],
"enabled": false
},
{
"description": "Extract version from xgo container tags",
"matchDatasources": ["docker"],
"matchPackagePatterns": ["techknowlogick/xgo"],
"versioning": "regex:^go-(?<major>\\d+)\\.(?<minor>\\d+)\\.x$"
} }
] ]
} }