GITHUB-ACTIONS practice question 4 of 15

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

Full set: 72 questions
Answer options
A: ENV_ACTOR
B: GITHUB_WORKFLOW_ACTOR
C: GITHUB_ACTOR Correct answer
D: GITHUB_USER
Correct Answer:
C. GITHUB_ACTOR
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.

Scroll to Top