workflow_dispatch
The workflow event that adds a Run workflow button so a person can start the workflow on purpose, optionally with typed inputs.
In more detail
It suits deploys that should happen deliberately. A choice input shows a drop-down, so only the listed values such as staging or production can be picked.
Related terms
- workflow inputs — Named, typed values a person or a calling workflow supplies when starting a workflow, read through the inputs context.
- on — The top-level workflow key that lists which events start the workflow, with optional filters for each.
Taught in
- Runners: Where Code Executes — Continuous Integration & Continuous Delivery Pipelines
- Triggers and the Event Model — Continuous Integration & Continuous Delivery Pipelines
- Defining Environments in GitHub Actions — Continuous Integration & Continuous Delivery Pipelines
- Environment Protection and Manual Approvals — Continuous Integration & Continuous Delivery Pipelines
- Triggers In Depth: Filters, Schedules And Dispatch — GitHub Actions (GH-200) Exam Prep
- GITHUB_TOKEN: Least Privilege, Job By Job — GitHub Actions (GH-200) Exam Prep
- Environments: Reviewers, Wait Timers And Deployment Rules — GitHub Actions (GH-200) Exam Prep