GITHUB-ACTIONS · Question #35
What is the right method to ensure users approve a workflow before the next step proceeds?
The correct answer is C. adding users as required reviewers for an environment. GitHub Actions allows you to configure environment protection rules, where you can require specific users or teams to approve the deployment before the workflow proceeds to the next step. This ensures that the required reviewers approve the workflow before any sensitive actions (
Question
What is the right method to ensure users approve a workflow before the next step proceeds?
Options
- Acreating a branch protection rule and only allow certain users access
- Bgranting users workflow approval permissions
- Cadding users as required reviewers for an environment
- Dgranting users repository approval permissions
How the community answered
(43 responses)- A9% (4)
- B5% (2)
- C70% (30)
- D16% (7)
Explanation
GitHub Actions allows you to configure environment protection rules, where you can require specific users or teams to approve the deployment before the workflow proceeds to the next step. This ensures that the required reviewers approve the workflow before any sensitive actions (such as deployment) occur.
Topics
Community Discussion
No community discussion yet for this question.