Skip to content

Commit 6f9d8f3

Browse files
authored
Merge branch 'main' into repo-sync
2 parents bb68f23 + 495efc0 commit 6f9d8f3

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

content/actions/reference/environment-variables.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ We strongly recommend that actions use environment variables to access the files
8484

8585
### Naming conventions for environment variables
8686

87-
{% note %}
88-
89-
**Note:** {% data variables.product.prodname_dotcom %} reserves the `GITHUB_` environment variable prefix for internal use by {% data variables.product.prodname_dotcom %}. Setting an environment variable or secret with the `GITHUB_` prefix will result in an error.
90-
91-
{% endnote %}
87+
When you set a custom environment variable, you cannot use any of the default environment variable names listed above with the prefix `GITHUB_`. If you attempt to override the value of one of these default environment variables, the assignment is ignored.
9288

9389
Any new environment variables you set that point to a location on the filesystem should have a `_PATH` suffix. The `HOME` and `GITHUB_WORKSPACE` default variables are exceptions to this convention because the words "home" and "workspace" already imply a location.

0 commit comments

Comments
 (0)