Microsoft

GH-200 practice question 19

GitHub Actions · free question 19 of 20

Question

Which workflow event is used to manually trigger a workflow run?
  • A. status
  • B. workflow_dispatch Correct
  • C. workflow_run
  • D. create

Explanation

The workflow_dispatch event lets you start a workflow manually from the Actions tab, with GitHub CLI or through the REST API, and it can define inputs. workflow_run fires automatically when another workflow is requested or completes. status fires when a commit status changes, and create fires when a branch or tag is created, so neither of them is a manual trigger.

Practice the whole free set

Answer all 20 free GH-200 questions with instant feedback, or unlock all 106 questions with Learn and Exam modes.