Pin GitHub Actions to commit SHAs - #83
Merged
Merged
Conversation
Pins actions/checkout, pnpm/action-setup, and actions/setup-node to full commit SHAs with version comments instead of floating major tags, for reproducible builds and supply-chain safety. Each SHA is the commit the corresponding release tag currently points at, so CI runs the same code as before.
Contributor
There was a problem hiding this comment.
🟢 Ready to approve
All pinned SHAs resolve to the documented versions, and GitHub Actions Dependabot updates are configured.
This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.
Pull request overview
Pins CI actions to verified immutable SHAs while retaining version comments for Dependabot updates.
Changes:
- Pins checkout, pnpm setup, and Node setup actions.
- Applies pins consistently across test and lint jobs.
File summaries
| File | Description |
|---|---|
.github/workflows/ci.yml |
Replaces floating action tags with matching commit SHAs. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.
jclusso
approved these changes
Aug 5, 2026
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.
Supersedes #82.
Dependabot proposed pinning
pnpm/action-setuptov6.0.9in #82, which left the workflow inconsistent: one action on an exact version, the other two on floating major tags. Copilot flagged that on the PR. This aligns all of them on the stricter strategy instead — full commit SHAs with a trailing version comment.actions/checkout3d3c42e@v7pnpm/action-setup0977fd9@v6actions/setup-node8207627@v7No behavior change. Each SHA is the commit its tag resolves to today, so CI runs the same action code it already does. Note this pins
pnpm/action-setupat v6.0.10, not the v6.0.9 from #82 — thev6tag has since been moved forward past v6.0.9, so merging #82 would have frozen CI one release behind.Dependabot updates SHA pins (rewriting both the SHA and the version comment), so this doesn't cost us update coverage.