marketing-site
❯_
Your AI agent
threat-unknown tools connected · ~/code/marketing-site
threat-unknown (Protect your main code branches)
  dispatched agent
Agent is working...
Protect your main code branches
Needs your input
What is the name of marketing-site's main branch (e.g. "main" or "master"), and is it okay if I require at least one person to approve changes before they can be merged into it?
main and yes
Agent is working...
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
  Decision: Approved
Agent is working...
? for shortcuts
Action required
1. Approve
  2. Reject
Enter to select · ↑/↓ to navigate · Esc to cancel
⏎ Enter