Merged
Conversation
Owner
liudger
commented
Apr 16, 2026
- Use npm ci instead of npm install in linting workflow (Pinned-Dependencies)
- Add SLSA build provenance attestation to release workflow (Signed-Releases)
- Add attestations:write permission for provenance generation
- Use npm ci instead of npm install in linting workflow (Pinned-Dependencies) - Add SLSA build provenance attestation to release workflow (Signed-Releases) - Add attestations:write permission for provenance generation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves the repository’s OpenSSF Scorecard results by tightening dependency installation practices and adding SLSA build provenance attestations to the release process.
Changes:
- Switch the Prettier workflow from
npm installtonpm cito ensure deterministic installs (Pinned-Dependencies). - Add GitHub build provenance attestation generation to the release workflow (Signed-Releases).
- Grant the release job
attestations: writepermission to allow provenance publication.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/release.yaml |
Adds provenance attestation step and the required attestations: write job permission. |
.github/workflows/linting.yaml |
Uses npm ci for reproducible Node dependency installation during Prettier runs. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1446 +/- ##
=======================================
Coverage 99.89% 99.89%
=======================================
Files 6 6
Lines 955 955
Branches 128 128
=======================================
Hits 954 954
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.


