Repository navigation
release-github.yml: float Go version to match other workflows - #2137
Merged
TerryHowe merged 1 commit intoAug 24, 2026
Merged
Conversation
The release workflow pinned an exact Go patch version (1.25.7), which was 6 patches behind and missed a stdlib security fix (GO-2026-5026 / CVE-2026-39821). Every other workflow in the repo (build, codeql-analysis, golangci-lint, vulnerability-check, snapcraft) already uses the floating minor version, letting actions/setup-go pick up the latest patch automatically. Nothing bumps this pin automatically since Dependabot doesn't rewrite go-version string literals, so it silently ages. Switch release-github.yml to the same floating minor for consistency. Fixes oras-project#2132 Signed-off-by: Sooraj Macbook <[email protected]>
sooraj-sky
requested review from
TerryHowe,
Wwwsylvia,
sabre1041,
sajayantony and
shizhMSFT
as code owners
August 23, 2026 15:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/release-github.ymlpinned an exact Go patch version (1.25.7) for the job that builds and GPG-signs the release binaries.build.yml,codeql-analysis.yml,golangci-lint.yml,vulnerability-check.yml,snapcraft.yaml) already uses the floating minor'1.25', whichactions/setup-goresolves to the latest patch at run time.gomod/github-actionsecosystems don't rewritego-version:string literals.release-github.ymlto the same floating minor used everywhere else in the repo, so release binaries pick up patch releases automatically like every other build path.Fixes #2132
Test plan
1.25.7) is gone and matches the floating-minor pattern ('1.25') used by the other 5 workflows in the same repoworkflow_dispatch/tag push) in CI on merge — the change is a one-line value swap of an already-used, validsetup-goinput