Repository navigation
🔒 Pin GitHub Actions to commit SHAs for supply chain security - #1099
Merged
Merged
Conversation
Pin all third-party GitHub Actions to their full commit SHA with the version tag as a trailing comment (e.g. `action@sha # v1`). This prevents supply chain attacks through tag manipulation while keeping Dependabot compatibility for automated updates. Also upgrades mhausenblas/mkdocs-deploy-gh-pages from @master to the stable release 1.26. Co-Authored-By: OpenCode <noreply@opencode.ai>
0x46616c6b
marked this pull request as ready for review
February 28, 2026 11:56
0x46616c6b
requested review from
doobry-systemli,
t2d and
y3n4
as code owners
February 28, 2026 11:56
|
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
action@de0fac2e... # v6)mhausenblas/mkdocs-deploy-gh-pagesfrom@master(unstable branch reference) to the stable release1.26Details
All 28
uses:directives across 8 workflow files have been updated:actions/checkoutde0fac2e4500dabe0009e67214ff5f5447ce83ddactions/cachecdf6c1fa76f9f475f3d7449005a359c84ca0f306actions/setup-node6044e13b5dc448c55e2357c09f80417699197238actions/github-scripted597411d8f924073f98dfc5c65a23a2325f34cdshivammathur/setup-php44454db4f0199b8b9685a5d763dc37cbf79108e1peter-evans/find-commentb30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aadpeter-evans/create-or-update-commente8674b075228eee787fea43ef493e45ece1004c9sonarsource/sonarqube-scan-actiona31c9398be7ace6bbfaf30c0bd5d415f843d45e9docker/login-actionc94ce9fb468520275223c153574b00df6fe4bcc9docker/setup-buildx-action8d2750c68a42422c14e847fe6c8ac0403b4cbd6fdocker/build-push-action10e90e3645eae34f1e60eeb005ba3a3d33f178e8github/codeql-action89a39a4e59826350b863aa6b6252a07ad50cf83esymfonycorp/security-checker-action258311ef7ac571f1310780ef3d79fc5abef642b5mhausenblas/mkdocs-deploy-gh-pagesd77dd03172e96abbcdb081d8c948224762033653Why
Git tags are mutable — a compromised or malicious upstream maintainer could move a tag to point to different code. By pinning to the immutable commit SHA, the exact code that runs in CI is guaranteed. The
# tagcomment preserves human readability and enables Dependabot to propose version updates automatically.The changes and the PR were generated by OpenCode.