Skip to content

fix: Keep Go toolchain updates out of the Go modules group - #6

Merged
ecv merged 1 commit into
mainfrom
fix/go-modules-skip-toolchain
Nov 25, 2026
Merged

ecv merged 1 commit into
mainfrom
fix/go-modules-skip-toolchain

Conversation

@ecv

@ecv ecv commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Summary

The shared Datum Renovate preset is gaining a Go toolchain group, so one pull request per repository moves the Go version, build images, setup-go, golangci-lint and chainsaw together. This preset's Go modules rule matched every Go update, including the Go version line, and would pull it back into the modules group in every milo-os repository.

This limits the Go modules rule to Go modules, so the Go version line stays in the toolchain group. Merge it with datum-cloud/.github#43.

Test plan

  • Config passes the Renovate config validator in strict mode
  • After both merge, a milo-os dependency dashboard lists the Go version under the toolchain group

Related to milo-os/renovate-config#3

The shared datum-cloud preset gains a Go toolchain group that moves the
go.mod toolchain line with the build images, setup-go, golangci-lint and
chainsaw. This preset's Go modules rule matches every gomod update and is
applied after the shared one, so it pulled the toolchain line back into
the modules group.

Key changes:
- Match only the go datasource in the Go modules rule, so the toolchain
  line (golang-version datasource) stays in the shared toolchain group
@ecv
ecv requested a review from a team as a code owner November 25, 2026 19:16
@ecv
ecv requested a review from kevwilliams November 25, 2026 19:16
@ecv
ecv enabled auto-merge November 25, 2026 19:16

@kevwilliams kevwilliams left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scoping the modules group to the go datasource leaves the golang-version directive for the toolchain group; companion datum-cloud/.github#43 already merged.

@ecv
ecv merged commit e210a73 into main Nov 25, 2026
@ecv
ecv deleted the fix/go-modules-skip-toolchain branch November 25, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants