GitHub Foundations — Question 22
Which default GitHub environment variable indicates the name of the person or app that initiated a workflow?
Answer options
- A. GITHUB_ACTOR
- B. GITHUB USER
- C. ENV_ACTOR
- D. GITHUB_WORKFLOW_ACTOR
Correct answer: A
Explanation
The correct answer is A, GITHUB_ACTOR, as it specifically identifies the user or application that started the workflow. Options B and C are incorrect because they do not represent valid GitHub environment variables, and D, while related, does not accurately reflect the variable's purpose in this context.