Protect your main code branches
Action required
Proposed changes
- Turn on branch protection for
main in ThreatUnknown-Demo/marketing-site - Require at least one person to approve changes before they can be merged into
main
Current state
The main branch in marketing-site has no protection rule at all. Anyone with write access can push directly to it, and changes can be merged with no review.
Impact
Going forward, changes to main will need at least one approval before they can be merged. Nobody will be able to push straight to main without going through a pull request and getting that approval.
Rollback
The requirement for one approval can be turned back off in GitHub's branch protection settings for this repository at any time.
Planned changes (1)
mcp__agent-tools__github_set_branch_protection
branch: main
repository: ThreatUnknown-Demo/marketing-site
requiredApprovingReviewCount: 1
▸ Advanced ▸ raw tool calls
Approve
Reject
✓ Decision: Approved