AI agents: read /llms.txt for the documentation index or append .md to any guide URL for raw Markdown.
Skip to content

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 by bot_approve. For review and block it also needs human_approvers[lane] == 0. In the Action, bot-approve needs app_id and app_private_key (a GitHub App token); with only GITHUB_TOKEN it is skipped. The hosted App always approves as mergejudge[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-approve mode): if a later push raises the lane, MergeJudge dismisses its own earlier approval.
  • human_approvers is shown in the comment as guidance. Enforce human counts with branch protection.

The MergeJudge runner is open source (MIT). MergeJudge doesn't merge pull requests itself. MergeJudge is not affiliated with or endorsed by GitHub. Sign in · Impressum · Privacy · Terms · Cookie settings