Skip to content

Commit

Permalink
Add CODEOWNERS and branch protection config
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbrisebois committed Jul 22, 2024
1 parent bdbf226 commit 3f7f156
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @mjbrisebois
27 changes: 27 additions & 0 deletions .github/branch-protection-rules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
branches:
master:
protection:
required_status_checks:
strict: true
contexts:
- "*" # Ensure all checks must pass
enforce_admins: true
required_pull_request_reviews:
dismiss_stale_reviews: true
require_code_owner_reviews: true
restrictions:
users: # Only these users can push directly to master
- mjbrisebois
allow_force_pushes: false # Prevent force pushes

develop:
protection:
required_status_checks:
strict: true
contexts:
- "*" # Ensure all checks must pass
enforce_admins: true
required_pull_request_reviews:
dismiss_stale_reviews: true
require_code_owner_reviews: false
allow_force_pushes: false # Prevent force pushes

0 comments on commit 3f7f156

Please sign in to comment.