mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
branch-protection: allow admin bypass on main (#94)
Flip enforce_admins from true to false. Repo admins can now merge their own PRs without waiting for code-owner review, by clicking "Merge without waiting for requirements to be met" once CI is green. The action is recorded in the audit log. Non-admins still see full enforcement: code-owner review required, 1 approving review, required status checks must pass. Rationale: as the solo owner of most CODEOWNERS scopes, the author cannot satisfy GitHub's "non-self approver" rule on their own PRs, which made every PR block on a second human. Admin bypass restores the practical workflow while keeping the protection rules as the default for everyone else.
This commit is contained in:
parent
6bad829ed0
commit
e8d49559c4
1 changed files with 1 additions and 1 deletions
2
.github/branch-protection.json
vendored
2
.github/branch-protection.json
vendored
|
|
@ -11,7 +11,7 @@
|
|||
"CODEOWNERS / noedit"
|
||||
]
|
||||
},
|
||||
"enforce_admins": true,
|
||||
"enforce_admins": false,
|
||||
"required_pull_request_reviews": {
|
||||
"dismissal_restrictions": {},
|
||||
"dismiss_stale_reviews": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue