Skip to content

develop: maintainer-review gate + 0 human approvals - #121

Merged
unjica merged 1 commit into
developfrom
fix/develop-maintainer-review-gate
Jul 2, 2026
Merged

unjica merged 1 commit into
developfrom
fix/develop-maintainer-review-gate

Conversation

@unjica

@unjica unjica commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

GitHub cannot express “0 approvals when I open the PR, 1 when someone else does” using review count alone — authors cannot approve their own PRs.

Pattern (same as main):

  • develop human approvals → 0
  • Required checks: build, Cursor Bugbot, maintainer-review
  • @unjica PRs: maintainer-review passes automatically
  • Other authors: merge blocked until @unjica APPROVES

Also adds Cursor rule to run /review-bugbot before opening PRs.

Maintainer action after merge

Edit develop branch protection:

  1. Required approvals → 0
  2. Add maintainer-review to required status checks (after this workflow runs once on a PR)

Test plan

  • Workflow YAML valid
  • Open PR → maintainer-review passes for @unjica author

Made with Cursor

GitHub cannot skip approvals for the PR author only; use maintainer-review status check on develop like main, document settings, and require /review-bugbot before opening PRs.

Co-authored-by: Cursor <[email protected]>
@unjica
unjica merged commit 58d6126 into develop Jul 2, 2026
3 checks passed
@unjica
unjica deleted the fix/develop-maintainer-review-gate branch July 2, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant