ci: fallback to GITHUB_TOKEN in scorecard analysis when SCORECARD_READ_TOKEN is unavailable - #5510
Open
adri22235 wants to merge 4 commits into
Open
ci: fallback to GITHUB_TOKEN in scorecard analysis when SCORECARD_READ_TOKEN is unavailable#5510adri22235 wants to merge 4 commits into
adri22235 wants to merge 4 commits into
Conversation
adri22235
requested review from
Alan Jowett (Alan-Jowett) and
Dave Thaler (dthaler)
as code owners
August 15, 2026 15:20
Contributor
Contributor
Contributor
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Scorecards GitHub Actions workflow to avoid authentication failures by falling back to the default Actions token when a dedicated Scorecards read token isn’t available, improving CI reliability for Scorecards analysis in the eBPF for Windows repo.
Changes:
- Update
ossf/scorecard-actionrepo_tokento use${{ secrets.SCORECARD_READ_TOKEN || secrets.GITHUB_TOKEN }}as a fallback mechanism.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Alan Jowett (Alan-Jowett)
approved these changes
Aug 18, 2026
Shankar Seal (shankarseal)
approved these changes
Sep 10, 2026
Shankar Seal (shankarseal)
requested review from
Andrew Beltrano (abeltrano) and
Maksim S. (maxsud)
as code owners
September 10, 2026 23:50
Shankar Seal (shankarseal)
enabled auto-merge
September 10, 2026 23:50
Contributor
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.
Description
Resolves a CI failure where the Scorecards analysis workflow fails with
401 Bad credentialson push/forks ifSCORECARD_READ_TOKENis expired or unavailable: