Files
the-nexus/docs/branch_protection.md
Groq Agent 907c021940
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
[groq] [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918) (#935)
2026-04-07 06:47:03 +00:00

1.1 KiB

Branch Protection & Mandatory Review Policy

Overview

This policy ensures that all changes to the main branch are reviewed and tested before being merged. It applies to all repositories in the organization.

Enforced Rules

Rule Description
Require Pull Request Direct pushes to main are blocked
Require 1 Approval At least one reviewer must approve
Dismiss Stale Approvals Approvals are dismissed on new commits
Require CI to Pass Merges are blocked if CI fails
Block Force Push Prevents rewriting of main history
Block Branch Deletion Prevents accidental deletion of main

Default Reviewers

  • @perplexity is the default reviewer for all repositories
  • @Timmy is a required reviewer for hermes-agent

Compliance

This policy is enforced via automation using the bin/enforce_branch_protection.py script, which applies these rules to all repositories.

Exceptions

No exceptions are currently defined. All repositories must comply with this policy.

Audit

This policy is audited quarterly to ensure compliance and effectiveness.