Fix prerelease release signing in GitHub Actions#3973
Draft
Copilot wants to merge 3 commits into
Draft
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job 'prerelease'
Fix prerelease release signing in GitHub Actions
Jun 17, 2026
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.
The
prereleaseActions job was failing during GoReleaser checksum signing becausegpgwas invoked in batch mode without access to the signing passphrase. This change wires the passphrase through the release workflows and updates the shared signing command to consume it non-interactively.Root cause
gpgwithout a passphrase source.gpg: Sorry, we are in batchmode - can't get input.Workflow changes
GPG_PASSin all release-entry workflows that calltask release:prod:GoReleaser signing
.goreleaser.ymlso checksum signing reads the passphrase from stdin via--passphrase-fd 0instead of expecting interactive input.Result