Repository navigation
ci: OpenSSF Scorecard + Sigstore artifact signing - #24
Merged
Merged
Conversation
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
Trust-stack build-out, two commits:
OpenSSF Scorecard workflow + badge (
.github/workflows/scorecard.yml, README badge)23 19 * * 6), on branch-protection-rule changes, and pushes to mainpermissions: read-allat workflow level, job-level least-privilege (id-token: writefor the scorecard publisher)cosign signing in
release.yml(inserted before the softprops upload step)sigstore/cosign-installer+cosign sign-blobfordist/*.tar.gzanddist/*.whl, with.sigfiles added to the releasefiles:list|| trueis deliberate: signing must never fail a release; the next tag retries signing on its own artifactsPin provenance
All actions pinned to full commit SHAs, resolution date 2026-11-27:
actions/checkout@3d3c42e— v4 (existing repo pin, unchanged)ossf/scorecard-action@23f22cd— v2.6.0, latest release (published 2026-11-19)actions/upload-artifact@ea165f8— v4.6.2, latest v4 tag (v4 chosen to match the repo's conservative major-pinning; current upstream major is v7)github/codeql-action/upload-sarif@74c1aea— v3 (existing repo pin, unchanged)sigstore/cosign-installer@881c63b— v4.1.4, latest release (published 2026-11-24). Note: v4 superseded v3 on 2026-11-24; the current major is pinned rather than the outdated v3 line.cosign sign-blob --yesbehavior is unchanged in v4.Why
OpenSSF Scorecard + Best Practices "Passing" posture for token-hunt: automated scorecard scoring, signed release artifacts, and the badge as public trust signal.
Gates
ruff check .clean; full pytest suite run locally (801 passed; one pre-existing Windows-local failure intest_watch_detects_new_file, reproduces on clean main, unrelated to this diff — CI green on all 3 OSes)