Skip to content

Commit a990e23

Browse files
casalslucascosti
andauthored
Update environment-variables.md (#182)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
1 parent 5dd286b commit a990e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/actions/reference/environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ We strongly recommend that actions use environment variables to access the files
4949
| `GITHUB_REPOSITORY` | The owner and repository name. For example, `octocat/Hello-World`. |
5050
| `GITHUB_EVENT_NAME` | The name of the webhook event that triggered the workflow. |
5151
| `GITHUB_EVENT_PATH` | The path of the file with the complete webhook event payload. For example, `/github/workflow/event.json`. |
52-
| `GITHUB_WORKSPACE` | The {% data variables.product.prodname_dotcom %} workspace directory path. The workspace directory contains a subdirectory with a copy of your repository if your workflow uses the [actions/checkout](https://github.com/actions/checkout) action. If you don't use the `actions/checkout` action, the directory will be empty. For example, `/home/runner/work/my-repo-name/my-repo-name`. |
52+
| `GITHUB_WORKSPACE` | The {% data variables.product.prodname_dotcom %} workspace directory path. The workspace directory is a copy of your repository if your workflow uses the [actions/checkout](https://github.com/actions/checkout) action. If you don't use the `actions/checkout` action, the directory will be empty. For example, `/home/runner/work/my-repo-name/my-repo-name`. |
5353
| `GITHUB_SHA` | The commit SHA that triggered the workflow. For example, `ffac537e6cbbf934b08745a378932722df287a53`. |
5454
| `GITHUB_REF` | The branch or tag ref that triggered the workflow. For example, `refs/heads/feature-branch-1`. If neither a branch or tag is available for the event type, the variable will not exist. |
5555
| `GITHUB_HEAD_REF` | Only set for forked repositories. The branch of the head repository.

0 commit comments

Comments
 (0)