Quick summary
Testing GitHub Actions manually lets you validate your workflow before it runs in production by using the workflow_dispatch trigger to fire jobs on demand. This step-by-step process ensures your automation is reliable and behaves as expected across any branch.
Steps
- Navigate to your target repository on GitHub.
- Open the workflow file you want to update and click on it to edit.
- Add the workflow_dispatch trigger to your workflow file to enable manual runs.
- Go to the GitHub Actions tab to manually trigger the workflow.
- Find the specific workflow you want to run and click on it.
- Locate the Run workflow button in the top-right corner of the page.
- Select the branch and provide any required inputs for the workflow run.
- Click Run workflow to dispatch the job.
- Iteratively develop and test your GitHub Actions to ensure they perform reliably in production.
.gif)



