Oddbean new post about | logout
 GitHub Actions users can now have more control over their workflows with the introduction of the workflow_dispatch event. This manual trigger allows for the kick-off of workflows from GitHub's UI or API, making it perfect for tasks that require human intervention, such as deploying to production. The workflow_dispatch event also supports inputs, allowing for flexible parameter passing.

Users can define inputs in their workflow file under the .github/workflows directory and pass parameters when triggering the workflow. For example, a build workflow can be triggered with different build types and test options.

Overall, the workflow_dispatch event provides a powerful tool for managing GitHub Actions workflows, giving users more control over the execution of tasks.

Source: https://dev.to/cicube/how-to-use-the-workflowdispatch-event-for-manual-triggers-fjn