The name of the action currently running, or the
id
of a step.
GitHub removes special characters, and uses the name __run when the current step runs a
script without an id.
If you use the same action more than once in the same job, the name will include a suffix with
the sequence number with underscore before it.
For example, the first script you run will have the name __run, and the second script will be
named __run_2.
Similarly, the second invocation of actions/checkout will be actionscheckout2.
This property is only supported in composite actions.
You can use this path to access files located in the same repository as the action, for example
by changing directories to the path: cd ${{ github.action_path }}.
For a step executing an action, this is the ref of the action being executed.
For example, v2.
Do not use in the run keyword.
To make this context work with composite actions, reference it within the env context of the
composite action.
For a step executing an action, this is the owner and repository name of the action.
For example, actions/checkout.
Do not use in the run keyword.
To make this context work with composite actions, reference it within the env context of the
composite action.
The username of the user that triggered the initial workflow run.
If the workflow run is a re-run, this value may differ from github.triggering_actor.
Any workflow re-runs will use the privileges of github.actor, even if the actor initiating
the re-run (github.triggering_actor) has different privileges.
Note: This context property is set by the Actions runner, and is only available within the
execution steps of a job.
Otherwise, the value of this property will be null.
The fully-formed ref of the branch or tag that triggered the workflow run.
For workflows triggered by push, this is the branch or tag ref that was pushed.
For workflows triggered by pull_request, this is the pull request merge branch.
For workflows triggered by release, this is the release tag created.
For other triggers, this is the branch or tag ref that triggered the workflow run.
This is only set if a branch or tag is available for the event type.
The ref given is fully-formed, meaning that for branches the format is
refs/heads/<branch_name>.
For pull requests events except pull_request_target, it is refs/pull/<pr_number>/merge.
pull_request_target events have the ref from the base branch.
For tags it is refs/tags/<tag_name>.
For example, refs/heads/feature-branch-1.
The value of this commit SHA depends on the event that triggered the workflow.
For more information, see Events that trigger workflows.
For example, ffac537e6cbbf934b08745a378932722df287a53.
A token to authenticate on behalf of the GitHub App installed on your repository.
This is functionally equivalent to the GITHUB_TOKEN secret.
Note: This context property is set by the Actions runner, and is only available within the
execution steps of a job.
Otherwise, the value will be null.
The username of the user that initiated the workflow run.
If the workflow run is a re-run, this value may differ from github.actor.
Any workflow re-runs will use the privileges of github.actor, even if the actor initiating
the re-run (github.triggering_actor) has different privileges.
The name of the action currently running, or the
idof a step.