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…
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)- B91% (29)
- C6% (2)
- D3% (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
Community Discussion
No community discussion yet for this question.