diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 9a945067afd..15228f93b5d 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -218,9 +218,10 @@ }, // Upgrade the Go module directive, see: // https://docs.renovatebot.com/modules/versioning/#go-modules-directive-versioning + // depName is 'go' so it will be group with the 'Go' groupName { "matchDatasources": ["golang-version"], - "rangeStrategy": "bump" + "rangeStrategy": "bump", }, { "groupName": "Go", @@ -228,6 +229,12 @@ "go", "docker.io/library/golang" ], + // postUpgradeTasks is only for when the Go module directives are bumped + "postUpgradeTasks": { + "commands": ["go mod vendor"], + "fileFilters": ["**/**"], + "executionMode": "branch" + }, }, { // Group golangci-lint updates to overrule grouping of version updates in the GHA files.