Who can manually trigger a workflow_dispatch event on a private repository?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Triggering workflow_dispatch requires write access — it's an action that can affect the repo, so readers can't pull that trigger.
Full explanation below image
Full Explanation
Manually triggering a workflow_dispatch event (via the GitHub UI, GitHub CLI, or REST API) requires write access to the repository at minimum. This means collaborators with Write role, Maintain role, or Admin role can trigger manual workflows. Users with only Read access cannot. For organization repositories, it typically requires being a member with repository write access. This restriction prevents unauthorized code execution in your repository's CI/CD infrastructure. For fine-grained access control, you can create teams with specific repository access levels.