Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sample yaml to setup-node@v2.1.2 #542

Closed
dan-mba opened this issue Nov 28, 2020 · 2 comments
Closed

Update sample yaml to setup-node@v2.1.2 #542

dan-mba opened this issue Nov 28, 2020 · 2 comments
Assignees
Labels
bug Something isn't working resolved

Comments

@dan-mba
Copy link

dan-mba commented Nov 28, 2020

Describe the bug

A GitHub security issue forced changes to setup-node action.
Running the setup-node action with a version below 2.1.2 will fail.
Error Messages:
Unable to process command '::add-path::/opt/hostedtoolcache/node/12.19.0/x64/bin' successfully.
The add-path command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the ACTIONS_ALLOW_UNSECURE_COMMANDS environment variable to true.

To Reproduce

Run sample yaml ( I used the Gatsby )

Expected behavior

Action to run

Additional context

GitHub Blog on security issue

@dan-mba dan-mba added the bug Something isn't working label Nov 28, 2020
@peaceiris
Copy link
Owner

Thank you!

@github-actions
Copy link
Contributor

This issue has been LOCKED because of it being resolved!

The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working resolved
Projects
None yet
Development

No branches or pull requests

2 participants