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