Skip to content

[LOW] ci: remove unnecessary actions-yarn dependency - #369

Open
OskarEichler wants to merge 1 commit into
GantMan:masterfrom
OskarEichler:codex/security-remove-actions-yarn
Open

[LOW] ci: remove unnecessary actions-yarn dependency#369
OskarEichler wants to merge 1 commit into
GantMan:masterfrom
OskarEichler:codex/security-remove-actions-yarn

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

Run the repository’s existing yarn install-example script directly instead of executing a third-party wrapper action.

Security impact

borales/actions-yarn@v4 is 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.22
  • workflow YAML parses successfully
  • git diff --check: passed

This PR removes only the redundant Yarn action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant