Skip to content

How to prevent repository collaborators from triggering workflow #27110

Discussion options

You must be logged in to vote

Critical workflows and secrets can be put behind an environment that requires approval before running. The required approvers can be restricted to non-collaborators. See Environments - GitHub Docs

This way any contributor could still queue the run, but there is an extra layer of protection and a mandatory review/approval would be required before the workflow would run.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants