nerdexam
GitHub

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 (

Manage GitHub Actions environments

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)
  • A
    9% (4)
  • B
    5% (2)
  • C
    70% (30)
  • D
    16% (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

#environment protection rules#required reviewers#deployment approval#environment gates

Community Discussion

No community discussion yet for this question.

Full GITHUB-ACTIONS Practice