Approvals
Approvals are off by default. MergeJudge doesn't merge pull requests itself. If you turn on approval.mode: auto-merge-only, it asks GitHub to auto-merge auto-lane PRs once your branch's protection rules (such as required checks or reviews) are met. The panel's setup wizard and Edit settings include an Approvals choice: Off, Bot approves auto-lane PRs, or GitHub auto-merge for auto-lane PRs.
yaml
approval:
enabled: true
mode: bot-approve # or auto-merge-only
human_approvers: { auto: 0, review: 1, block: 0 }
bot_approve: { auto: true, review: false, block: false }bot-approve: submits an APPROVE review in lanes allowed bybot_approve. For review and block it also needshuman_approvers[lane] == 0. In the Action,bot-approveneedsapp_idandapp_private_key(a GitHub App token); with onlyGITHUB_TOKENit is skipped. The hosted App always approves asmergejudge[bot].auto-merge-only: in the auto lane, turns on GitHub's native auto-merge, so GitHub merges once your required checks pass. Auto-merge must be allowed in repo settings.- Withdrawal (
bot-approvemode): if a later push raises the lane, MergeJudge dismisses its own earlier approval. human_approversis shown in the comment as guidance. Enforce human counts with branch protection.