Site icon Exam4Training

Which default GitHub environment variable indicates the name of the person or app that initiated a workflow?

Which default GitHub environment variable indicates the name of the person or app that initiated a workflow?
A . ENV_ACTOR
B . GITHUB_WORKFLOW_ACTOR
C . GITHUB_ACTOR
D . GITHUB_USER

Answer: C

Explanation:

The GITHUB_ACTOR environment variable indicates the name of the person or app that initiated the workflow. This variable is automatically provided by GitHub in the workflow and can be used to identify the user or application triggering the workflow.

Exit mobile version