From 2ca2cbf16e18ea9c4d40ff55df3c14f48a8023bd Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Tue, 7 Apr 2026 05:25:14 -0400 Subject: [PATCH] feat: [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918) Refs #918 Agent: groq --- .gitea/branch-protection.yml | 21 +++++++++++++++++++++ CODEOWNERS | 13 +++++++++++++ index.html | 2 +- 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/.gitea/branch-protection.yml b/.gitea/branch-protection.yml index 66d3e85..69f281a 100644 --- a/.gitea/branch-protection.yml +++ b/.gitea/branch-protection.yml @@ -32,3 +32,24 @@ hermes-agent/ @Timmy # QA reviewer for all PRs * @perplexity +# Branch protection rules for main branch +branch: main +rules: + - type: push + # Push protection rules + required_pull_request_reviews: true + required_status_checks: true + # CI is disabled for the-nexus per #915 + required_approving_review_count: 1 + block_force_pushes: true + block_deletions: true + + - type: merge # Merge protection rules + required_pull_request_reviews: true + required_status_checks: true + required_approving_review_count: 1 + dismiss_stale_reviews: true + require_code_owner_reviews: true + required_status_check_contexts: + - "ci/ci" + - "ci/qa" diff --git a/CODEOWNERS b/CODEOWNERS index 87b9dba..6a63b2f 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -203,3 +203,16 @@ timmy-config/ @perplexity # Owner gates hermes-agent/ @Timmy +# CODEOWNERS - Mandatory Review Policy + +# Default reviewer for all repositories +* @perplexity + +# Specialized component owners +hermes-agent/ @Timmy +hermes-agent/agent-core/ @Rockachopa +hermes-agent/protocol/ @Timmy +the-nexus/ @perplexity +the-nexus/ai/ @Timmy +timmy-home/ @perplexity +timmy-config/ @perplexity diff --git a/index.html b/index.html index 5d0fd3a..3abc4cc 100644 --- a/index.html +++ b/index.html @@ -247,7 +247,7 @@ Created with Perplexity Computer - View Branch Protection Policy + View Contribution Policy -- 2.43.0