ci: Add OpenSSF Scorecard analysis - #106
Merged
Merged
Conversation
BenWestgate
marked this pull request as ready for review
October 2, 2026 21:14
Run OpenSSF Scorecard on pushes to master, branch protection changes and a weekly schedule, and upload its SARIF results to code scanning. It reports supply-chain posture this repository cares about: pinned actions, token permissions, branch protection and signed releases. Actions are pinned to full commit SHAs, as in the existing workflows. Permissions are read-only except the job security-events permission for SARIF upload and id-token permission for publishing results to the public Scorecard API. Scorecard runs only on the default branch, so this takes effect once this pull request is merged into master. Claude-Session: https://claude.ai/code/session_013gZvwvuocM7a7Ut4kiBFHw
BenWestgate
force-pushed
the
claude/magical-cray-zegjrn
branch
from
October 2, 2026 21:30
bccf047 to
13924ea
Compare
Owner
Author
|
Generated by Claude Code |
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.
What
Add
.github/workflows/scorecard.yml, which runs OpenSSF Scorecard and uploads its SARIF results to code scanning.master, branch-protection changes, and weekly (Monday 04:29 UTC).contents: readat the top level. The job adds onlysecurity-events: write(SARIF upload) andid-token: write(publishing to the public Scorecard API).checkoutreuses the repo's currentv4.3.1pin.Why
Scorecard checks the repository's supply-chain posture: pinned actions, token permissions, branch protection and signed releases. That matters for a library that handles seeds, and it complements CodeQL, which scans the code itself.
Notes
Scorecard runs only on the default branch, so it takes effect once this pull request is merged into
master. Early results will probably flag unsigned commits and branch-protection gaps until the new rulesets are complete.Validation: the workflow YAML parses, and
git diff --checkis clean.AI-written (Claude); requires responsible-human review per
docs/developer/AI_POLICY.md.🤖 Generated with Claude Code
https://claude.ai/code/session_013gZvwvuocM7a7Ut4kiBFHw
Generated by Claude Code