Skip to content

Conversation

@landongrindheim
Copy link
Contributor

Summary

Fork PRs cannot access GitHub Actions' OIDC token permissions (id-token: write), causing smoke tests to fail. This change uses the (unsafe) public beacon from sigstore-conformance to provide a valid token for fork PRs. My hope in taking this approach is to allow forks to have smoke tests run against them, but continue to rely on the GitHub Actions OIDC token permissions for release and non-fork workflows.

Fixes: #262

Release Note

NONE (dev-only)

Documentation

No

Fork PRs cannot access GitHub Actions' OIDC token permissions (id-token: write),
causing smoke tests to fail. This change uses the (unsafe) public beacon from
sigstore-conformance to provide a valid token for fork PRs.

Signed-off-by: Landon Grindheim <landon.grindheim@gmail.com>
Signed-off-by: Landon Grindheim <landon.grindheim@gmail.com>
@landongrindheim landongrindheim force-pushed the allow-smoke-tests-to-run-on-forks branch from dea555f to a251c01 Compare October 20, 2025 15:09
@landongrindheim landongrindheim force-pushed the allow-smoke-tests-to-run-on-forks branch from 69c426e to bbf68c9 Compare October 20, 2025 17:56
Signed-off-by: Landon Grindheim <landon.grindheim@gmail.com>
@landongrindheim landongrindheim force-pushed the allow-smoke-tests-to-run-on-forks branch from bbf68c9 to 29c58cc Compare October 20, 2025 18:06
Note: This is not tied to a release, so Dependabot (or another similar
tool) will not update it automatically.

Signed-off-by: Landon Grindheim <landon.grindheim@gmail.com>
Co-authored-by: William Woodruff <william@yossarian.net>
Signed-off-by: Landon Grindheim <landon.grindheim@gmail.com>
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

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

@woodruffw
Copy link
Member

(I kicked the CI over because it failed on a flake with the OIDC beacon that was my own doing. Sorry about that.)

@woodruffw woodruffw enabled auto-merge (squash) October 21, 2025 20:36
@woodruffw woodruffw merged commit a9e6a13 into sigstore:main Oct 21, 2025
42 checks passed
GrantBirki pushed a commit to GrantBirki/sigstore-ruby that referenced this pull request Oct 22, 2025
Co-authored-by: William Woodruff <william@yossarian.net>
Signed-off-by: GrantBirki <grant.birkinbine@gmail.com>
segiddins pushed a commit that referenced this pull request Oct 25, 2025
* bump version

Signed-off-by: GrantBirki <grant.birkinbine@gmail.com>

* Enable smoke tests for fork PRs using public OIDC beacon (#267)

Co-authored-by: William Woodruff <william@yossarian.net>
Signed-off-by: GrantBirki <grant.birkinbine@gmail.com>

* Clarify/tweak wording (#235)

Co-authored-by: William Woodruff <william@yossarian.net>
Signed-off-by: GrantBirki <grant.birkinbine@gmail.com>

---------

Signed-off-by: GrantBirki <grant.birkinbine@gmail.com>
Co-authored-by: Landon Grindheim <landon.grindheim@gmail.com>
Co-authored-by: William Woodruff <william@yossarian.net>
Co-authored-by: Jeff Widman <jeff@jeffwidman.com>
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.

Change CI to unblock PR's from drive-by contributors

3 participants