Repository navigation
Conversation
Keep the release token in the steps that call the GitHub CLI. Avoid checking out the source when the release workflow only downloads and signs archives.
The existing Sigstore dependency setup fails under the hosted runner default Python 3.14. Select Python 3.12 before invoking the signer.
Pin the official Sigstore action revision that bundles sigstore-python 4.5.1 after staging verified that the old client cannot handle the current certificate timestamp format.
This branch has not been deployed
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
In a GitHub-hosted fork test, the existing Sigstore action failed to install its pinned dependencies on the runner’s default Python 3.14. Selecting Python 3.12 fixed the install, then the old Sigstore client failed on the certificate timestamp returned by Fulcio staging. This change selects Python 3.12 and pins the official Sigstore action revision that bundles sigstore-python 4.5.1. Dependency failure Signing failure Sigstore compatibility fix
The GitHub CLI already targets the repository explicitly, so the job can download and sign its archives in an empty workspace. Removing the checkout eliminates the Git credential it would persist. The
GH_TOKENenvironment variable is supplied only to the two steps that use the GitHub CLI.Validation
Actionlint 1.7.12 and
git diff --checkpassed.A local command fixture checked the create, download, and upload arguments and archive filenames from an empty workspace.
A GitHub-hosted fork run downloaded the public tarball and ZIP without a checkout, then signed both synthetic archive types in Sigstore staging and verified both signatures. It used the exact Python setup and Sigstore action revision in this PR. Passing hosted run
With production Sigstore selected, a separate hosted fork run signed and verified both synthetic archive formats against the fork workflow identity and the GitHub Actions OIDC issuer. It used Python 3.12 and the same pinned signing action, and checked that the release token was absent before and after signing. Passing production signing check
A hosted fork test created a draft release for the exact PR commit, fetched its tagged tarball and ZIP through GitHub’s archive API, signed both with production Sigstore, and uploaded the archives and both signature bundles. Both signatures verified against the fork workflow identity, all four assets matched GitHub’s SHA-256 digests, and the release token was absent from the environment before and after signing. The test used the archive API because GitHub CLI release archive downloads require a published release. The fork release stayed a draft. Passing draft release job Test workflow
The five newest published upstream releases all have signature bundles for both archives. The compatibility failures above were reproduced in the fork. RE2 release history
Prepared and tested with OpenAI Codex.