nerdexam
Microsoft

GH-200 · Question #77

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

The correct answer is B. workflow_dispatch. Manually running a workflow When a workflow is configured to run on the workflow_dispatch event, you can run the workflow using the Actions tab on GitHub, GitHub CLI, or the REST API. Configuring a workflow to run manually To run a workflow manually, the workflow must be…

Author and Maintain Workflows

Question

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

Options

  • Astatus
  • Bworkflow_dispatch
  • Cworkflow_run
  • Dcreate

How the community answered

(32 responses)
  • B
    91% (29)
  • C
    6% (2)
  • D
    3% (1)

Explanation

Manually running a workflow When a workflow is configured to run on the workflow_dispatch event, you can run the workflow using the Actions tab on GitHub, GitHub CLI, or the REST API. Configuring a workflow to run manually To run a workflow manually, the workflow must be configured to run on the workflow_dispatch To trigger the workflow_dispatch event, your workflow must be in the default branch. https://docs.github.com/en/actions/how-tos/manage-workflow-runs/manually-run-a-workflow

Topics

#GitHub Actions events#workflow_dispatch#Manual workflow triggers#Workflow configuration

Community Discussion

No community discussion yet for this question.

Full GH-200 Practice