Skip to content

update-go: Keep major.minor Go versions on their series - #542

Merged
vvoland merged 1 commit into
docker:mainfrom
vvoland:autogo
Oct 19, 2026
Merged

vvoland merged 1 commit into
docker:mainfrom
vvoland:autogo

Conversation

@vvoland

@vvoland vvoland commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Upstreams pin full patch versions, so the bot replaced our major.minor GO_VERSION with the upstream patch release.

Now it trims the upstream version to major.minor when ours has no patch.

Upstreams pin full patch versions, so the bot replaced our major.minor
GO_VERSION with the upstream patch release.

Now it trims the upstream version to major.minor when ours has no patch.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>

Copilot AI 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.

🟢 Approval recommended

The focused change matches the intended behavior, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Preserves major.minor Go version pins when the update bot receives full patch versions from upstream.

Changes:

  • Detects existing series-only pins and trims upstream versions accordingly.
  • Keeps patch-pinned updates unchanged and logs the selected version.
File Description
.github/​workflows/​update-go.yml Preserves Go version pin precision during Dockerfile updates.

Review effort: Balanced

@vvoland
vvoland merged commit 49cc306 into docker:main Oct 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants