[LOW] ci: remove unnecessary actions-yarn dependency - #369
Open
OskarEichler wants to merge 1 commit into
Open
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.
Summary
Run the repository’s existing
yarn install-examplescript directly instead of executing a third-party wrapper action.Security impact
borales/actions-yarn@v4is an unnecessary external code-execution dependency in CI. It is referenced through a mutable tag and runs after checkout, so an upstream tag compromise could alter code executed against the repository workspace. The hosted runner already provides Yarn, and the repository pins Yarn 1.22.22 through.yarnrc, so the wrapper provides no required capability.Verification
yarn install-example --ignore-scripts: passed using the repository-pinned Yarn 1.22.22git diff --check: passedThis PR removes only the redundant Yarn action.