Quiz 5 Question 18 of 20

An organization's policy requires all code changes to the main branch to go through a pull request with at least one human approval before merging. A code generation agent attempts to push commits directly to the main branch, bypassing the pull request process entirely. Which GitHub guardrail configuration BEST prevents this action?

Select an answer to reveal the explanation.

Motivation