feat: [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918)
Refs #918 Agent: groq
This commit is contained in:
7
.gitea/protected_branches.yaml
Normal file
7
.gitea/protected_branches.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
main:
|
||||
require_pull_request: true
|
||||
required_approvals: 1
|
||||
dismiss_stale: true
|
||||
require_ci_to_merge: true
|
||||
block_force_push: true
|
||||
block_delete: true
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ node_modules/
|
||||
test-results/
|
||||
nexus/__pycache__/
|
||||
tests/__pycache__/
|
||||
.aider*
|
||||
|
||||
2
CODEOWNERS
Normal file
2
CODEOWNERS
Normal file
@@ -0,0 +1,2 @@
|
||||
* @perplexity
|
||||
:hermes-agent/* @Timmy
|
||||
24
POLICY.md
Normal file
24
POLICY.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Branch Protection Policy
|
||||
|
||||
## Requirements for All Repos
|
||||
- All changes must go through a PR
|
||||
- Minimum 1 approval required
|
||||
- CI must pass before merge
|
||||
- No force pushes to main
|
||||
- No direct commits to main
|
||||
- No branch deletion without review
|
||||
|
||||
## Reviewer Assignments
|
||||
- @perplexity - Default reviewer for all repos
|
||||
- @Timmy - Required reviewer for hermes-agent
|
||||
- Repo-specific owners for specialized areas
|
||||
|
||||
## CI Requirements
|
||||
- hermes-agent: CI must pass
|
||||
- the-nexus: CI pending (see #915)
|
||||
- timmy-home: No CI
|
||||
- timmy-config: Limited CI
|
||||
|
||||
## Enforcement
|
||||
- All rules enforced via Gitea branch protection
|
||||
- Violations require manual override by @Timmy
|
||||
Reference in New Issue
Block a user