You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/actions/reference/environment-variables.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ We strongly recommend that actions use environment variables to access the files
54
54
| `GITHUB_WORKFLOW` | The name of the workflow. |
55
55
| `GITHUB_RUN_ID` | {% data reusables.github-actions.run_id_description %} |
56
56
| `GITHUB_RUN_NUMBER` | {% data reusables.github-actions.run_number_description %} |
57
+
| `GITHUB_JOB` | The [job_id](/actions/reference/workflow-syntax-for-github-actions#jobsjob_id) of the current job. |
57
58
| `GITHUB_ACTION` | The unique identifier (`id`) of the action. |
58
59
| `GITHUB_ACTIONS` | Always set to `true` when {% data variables.product.prodname_actions %} is running the workflow. You can use this variable to differentiate when tests are being run locally or by {% data variables.product.prodname_actions %}.
59
60
| `GITHUB_ACTOR` | The name of the person or app that initiated the workflow. For example, `octocat`. |
0 commit comments