Repository navigation
DEVOPS-33945: pin external action SHAs - #1
Merged
Merged
Conversation
vinayak-singh-deel
force-pushed
the
DEVOPS-33945/pin-external-action-shas
branch
from
May 11, 2026 12:57
34dcb18 to
523cc38
Compare
vinayak-singh-deel
marked this pull request as ready for review
May 12, 2026 08:22
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.
What
Replaces tag references for external GitHub Actions with the corresponding 40-char commit SHAs. The original tag is preserved as a trailing comment for readability.
Example:
Applies to:
.github/workflows/*.yml/*.yamlaction.yml/action.yamlfiles (at repo root and in subdirectories)Only
uses:references to non-letsdeelowners are pinned — internal reusable workflows and composite actions are left as-is.Why
Tag references like
@v4and@mainare mutable. The upstream action owner can repoint a tag at any time, including to malicious code, and every workflow run that consumes the tag will execute it on the next run. SHA pinning is GitHub's recommended mitigation and matches the org-wide hardening already completed inletsdeel/actions-templatesunder DEVOPS-33945.Safety
pinDigestspreset).pinactand reviewed.Ticket
DEVOPS-33945: SHA Pinning for All GitHub Action Tags — Org-wide