1
0
mirror of synced 2025-12-21 10:57:10 -05:00

(Already Shipped) Filter NODE_OPTIONS from env for file output in Actions workflows - [GA] (#43418)

This commit is contained in:
Siara
2023-10-02 13:00:13 -07:00
committed by GitHub
parent a805fa238e
commit 4dbaef79a9
2 changed files with 12 additions and 0 deletions

View File

@@ -799,6 +799,12 @@ You can make an environment variable available to any subsequent steps in a work
{% data reusables.actions.environment-variables-are-fixed %} For more information about the default environment variables, see "[AUTOTITLE](/actions/learn-github-actions/environment-variables#default-environment-variables)." {% data reusables.actions.environment-variables-are-fixed %} For more information about the default environment variables, see "[AUTOTITLE](/actions/learn-github-actions/environment-variables#default-environment-variables)."
{% ifversion github-env-node-options %}{% note %}
**Note:** Due to security restrictions, `GITHUB_ENV` cannot be used to set the `NODE_OPTIONS` environment variable.
{% endnote %}{% endif %}
### Example of writing an environment variable to `GITHUB_ENV` ### Example of writing an environment variable to `GITHUB_ENV`
{% bash %} {% bash %}

View File

@@ -0,0 +1,6 @@
# Reference: #12160
# `GITHUB_ENV` cannot be used to set the `NODE_OPTIONS` environment variable
versions:
fpt: '*'
ghec: '*'
ghes: '>= 3.11'