Repository navigation
ci: pin github actions hashes - #12
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR aims to reduce GitHub Actions supply-chain risk by pinning third-party action references to immutable commit SHAs (while leaving internal ExodusMovement/... actions unpinned as noted in the description).
Changes:
- Pinned
actions/checkoutandactions/setup-nodeto full commit SHAs in the Node CI workflow. - Pinned
actions/checkoutto a full commit SHA in the CodeQL workflow.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/node.js.yml | Pins actions/checkout and actions/setup-node to commit SHAs for deterministic CI execution. |
| .github/workflows/codeql-analysis.yml | Pins actions/checkout to a commit SHA for deterministic CodeQL workflow execution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
15
to
+18
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | ||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v1 | ||
| uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6 |
Comment on lines
37
to
40
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | ||
|
|
ale-exo
approved these changes
Apr 30, 2026
ale-exo
left a comment
There was a problem hiding this comment.
utACK
https://github.com/actions/checkout/releases/tag/v4.3.1https://github.com/actions/checkout/releases/tag/v2.7.0https://github.com/actions/setup-node/releases/tag/v1.4.6
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.
📝 Summary
This PR pins third-party GitHub Actions to full commit SHAs.
Internal
ExodusMovement/...actions are out of scope for this campaign and are intentionally not locked in these changes.This removes floating action references and reduces supply-chain risk by ensuring workflow execution uses reviewed, immutable upstream revisions instead of tags that can be moved.