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

[infra] WPT certificate regeneration GitHub Actions complains of set-env command #27169

Open
stephenmcgruer opened this issue Jan 13, 2021 · 0 comments

Comments

@stephenmcgruer
Copy link
Contributor

It looks like the cert regen action is doing something GitHub Actions isn't happy about. See i.e. https://github.com/web-platform-tests/wpt/actions/runs/479048354 :

Run peter-evans/create-pull-request@v2
  with:
    token: ***
    commit-message: Automated regeneration of WPT certificates
    title: Regenerate WPT certificates
    body: This automated pull request renews the core WPT certificates.
  
  Pull request auto-generated by [create-pull-request][1]
  
  [1]: https://github.com/peter-evans/create-pull-request
  
    branch: actions/regen-certs
    request-to-parent: false
Error: Unable to process command '::set-env name=pythonLocation::/opt/hostedtoolcache/Python/3.9.1/x64' successfully.
Error: The `set-env` 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`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Error: Unable to process command '::add-path::/opt/hostedtoolcache/Python/3.9.1/x64' successfully.
Error: 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`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Error: Unable to process command '::add-path::/opt/hostedtoolcache/Python/3.9.1/x64/bin' successfully.
Error: 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`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
...

The PR is actually still created correctly, but we should figure out what the problem is here and correct it if possible.

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

No branches or pull requests

1 participant