Skip to content

Commit 8ffdaac

Browse files
committed
chore: add CODEOWNERS and branch protection guidance
1 parent a09105e commit 8ffdaac

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# CODEOWNERS for AiDotNet
2-
# Update these handles to your actual maintainers/teams.
3-
# Lines are of the form: <pattern> <owner1> <owner2>
1+
# CODEOWNERS enforces review from code owners on PRs touching matching paths.
2+
# Adjust as needed to match your GitHub users/teams.
43

5-
* @cheat # TODO: replace with your org/team, e.g. @ooples/core or @ooples/ai-team
4+
* @ooples
65

BRANCH_PROTECTION.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Branch Protection (merge-dev2-to-master)
2+
3+
- Protect `merge-dev2-to-master` branch.
4+
- Require pull request before merging.
5+
- Require up-to-date with base before merging.
6+
- Require status checks to pass:
7+
- CI (.NET)
8+
- Build
9+
- Quality Gates (if enabled)
10+
- Require code owner review (via `.github/CODEOWNERS`).
11+
- Disallow force pushes and deletions.
12+
13+
Note: Configure these in GitHub Settings → Branches after the first clean CI run so the exact check names are visible.

0 commit comments

Comments
 (0)