fix: pin action SHAs in dev.yml (backport to maint-16.x)#23062
Open
sandy-sachin7 wants to merge 1 commit into
Open
fix: pin action SHAs in dev.yml (backport to maint-16.x)#23062sandy-sachin7 wants to merge 1 commit into
sandy-sachin7 wants to merge 1 commit into
Conversation
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.
Which issue does this PR close?
maint-16.x#23037Rationale for this change
The default branch already hardened
.github/workflows/dev.ymlagainst unpinned-uses (commit SHAs instead of mutable tags), but themaint-16.xrelease branch still uses mutable tags. This backports the same fix.What changes are included in this PR?
Pin the following actions to their commit SHA (with the version tag as a comment):
actions/checkout(rat job)@v3f43a0e5ff2bd294095638e18286ca9a3d1956744actions/setup-python(rat job)@v40ae58361cdfd39e2950bed97a1e26aa20c3d8955actions/checkout(prettier job)@v3f43a0e5ff2bd294095638e18286ca9a3d1956744actions/setup-node(prettier job)@v33235b876344d2a9aa001b8d1453c930bba69e610Are these changes tested?
Checked with
actionlint— no new lint or security findings introduced. The fix matches the pattern already applied on the default branch.Are there any user-facing changes?
No — CI workflow only.