chore: pin all action references to commit SHAs#299
Merged
Conversation
Pin floating version tags in ci.yml, pages.yml, and claude.yml to immutable commit SHAs for supply-chain security, consistent with the approach already used in docker-build.yml and publish-release.yml. anthropics/claude-code-action@v1 in claude.yml is intentionally left as a floating tag (first-party action, per project convention).
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
@v3,@v4, etc.) inci.yml,pages.yml, andclaude.ymlto immutable 40-character commit SHAsdocker-build.ymlandpublish-release.ymlanthropics/claude-code-action@v1inclaude.ymlis intentionally left as a floating tag (first-party action)Why
Pinning action references to commit SHAs prevents supply-chain attacks where a compromised tag (e.g. a tag being force-pushed to malicious code) could silently execute arbitrary code in CI. Using SHAs means the exact code that runs is immutable and auditable.
Actions pinned
actions/checkout34e114876b0b11c390a56381ad16ebd13914f8d5actions/setup-node49933ea5288caeca8642d1e84afbd3f7d6820020docker/setup-buildx-action8d2750c68a42422c14e847fe6c8ac0403b4cbd6fdocker/build-push-action10e90e3645eae34f1e60eeb005ba3a3d33f178e8peaceiris/actions-gh-pages4f9cc6602d3f66b9c108549d475ec49e8ef4d45eactions/configure-pages983d7736d9b0ae728b81ab479565c72886d7745bactions/upload-pages-artifact56afc609e74202658d3ffba0e8f6dda462b719faactions/deploy-pagesd6db90164ac5ed86f2b6aed7e0febac5b3c0c03eTest plan
git diff mainshows onlyuses:line changes, no logic changes