Repository navigation
[LOW] Pin actions/checkout to its reviewed commit - #845
Open
OskarEichler wants to merge 1 commit into
Open
OskarEichler wants to merge 1 commit into
OskarEichler wants to merge 1 commit into
Conversation
lbesecker195
approved these changes
Sep 13, 2026
lbesecker195
left a comment
There was a problem hiding this comment.
Verified actions/checkout tag v4 resolves to commit 11d5960a326750d5838078e36cf38b85af677262 (lightweight tag, so no dereferencing needed), and those are the only two checkout@v4 uses in deploy-docs.yml and nodejs.yml on main. Heads up that #846 edits the line right below in both files, so whichever lands second will likely need a rebase. LGTM.
This branch has not been deployed
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.
Issue
Both workflows execute actions/checkout through the mutable v4 tag. If that upstream tag were retargeted after an action compromise, substituted code would execute inside Fuse.js CI. The documentation workflow grants contents: write.
Fix
Pin both checkout uses to commit 11d5960a326750d5838078e36cf38b85af677262, the commit currently referenced by v4. The version comment keeps Dependabot and reviewers aware of the intended major release.
Verification
Breaking changes
None.