Pin GitHub Actions to commit SHAs#36
Merged
Merged
Conversation
galt-tr
approved these changes
Oct 22, 2025
Contributor
|
🤖 Claude Code Review Status: Complete Current Review: This PR successfully implements security hardening by pinning all GitHub Actions to commit SHAs. The changes are clean and well-executed: Verified:
Security Impact:
No issues found. This is a straightforward security improvement that follows GitHub Actions best practices. |
|
torrejonv
pushed a commit
to torrejonv/teranode
that referenced
this pull request
Oct 26, 2025
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 all external GitHub Actions to their full commit SHAs to resolve the SonarQube security warning
githubactions:S7637.Using version tags (e.g.,
@v4) for GitHub Actions is security-sensitive because tags can be moved to point to different commits. Pinning to commit SHAs ensures the exact code being executed is known and cannot be changed without updating the workflow files.Changes
All external GitHub Actions have been pinned to their commit SHAs:
08eba0b2d35c59aba26af69bea165f8dd3f86a10f28e40c7e468171a5e57cd11fd88b7d7cf038b0e4afd733ae8bad572cd0cdb90Format
Each pinned reference includes a comment with the original version tag for easy reference:
Testing
Security Impact
✅ Resolves SonarQube security hotspot
githubactions:S7637✅ Prevents potential supply chain attacks via tag manipulation
✅ Maintains version visibility through inline comments