|
The unique identifier (id) of the action.
-
Returns:
string
|
|
Always set to true when GitHub Actions is running the workflow.
You can use this variable to differentiate when tests are being run locally or by GitHub Actions.
-
Returns:
bool -> bool
|
|
The name of the person or app that initiated the workflow. For example, octocat.
-
Returns:
string
|
|
Only set for forked repositories. The branch of the base repository.
-
Returns:
string
|
|
Always set to true, if present.
-
Returns:
bool -> bool
|
|
The name of the webhook event that triggered the workflow.
-
Returns:
string
|
|
The path of the file with the complete webhook event payload.
For example, /github/workflow/event.json.
-
Returns:
string
|
|
Only set for forked repositories. The branch of the head repository.
-
Returns:
string
|
|
The path to the GitHub home directory used to store user data.
For example, /github/home.
-
Returns:
string
|
|
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.
-
Returns:
string
|
|
The owner and repository name. For example, octocat/Hello-World.
-
Returns:
string
|
|
A unique number for each run within a repository.
This number does not change if you re-run the workflow run.
-
Returns:
string
|
|
A unique number for each run of a particular workflow in a repository.
This number begins at 1 for the workflow's first run, and increments with each new run.
This number does not change if you re-run the workflow run.
-
Returns:
string
|
|
The commit SHA that triggered the workflow.
For example, ffac537e6cbbf934b08745a378932722df287a53.
-
Returns:
string
|
|
The name of the workflow.
-
Returns:
string
|
|
The GitHub workspace directory path.
The workspace directory contains a subdirectory with a copy of your repository if your workflow uses the 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.
-
Returns:
string
|