nerdexam
GitHub

GITHUB-ACTIONS · Question #59

Which workflow event is used to manually trigger a workflow run?

The correct answer is B. workflow_dispatch. The workflow_dispatch event is used to manually trigger a workflow run in GitHub Actions. You can specify this event in the workflow file to allow users to manually trigger the workflow from the GitHub UI, often with optional input parameters.

GitHub Actions - Workflow Triggers

Question

Which workflow event is used to manually trigger a workflow run?

Options

  • Acreate
  • Bworkflow_dispatch
  • Cworkflow_run
  • Dstatus

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    89% (32)
  • C
    6% (2)
  • D
    3% (1)

Explanation

The workflow_dispatch event is used to manually trigger a workflow run in GitHub Actions. You can specify this event in the workflow file to allow users to manually trigger the workflow from the GitHub UI, often with optional input parameters.

Topics

#workflow_dispatch#manual trigger#workflow events

Community Discussion

No community discussion yet for this question.

Full GITHUB-ACTIONS Practice