guard-merge
Validate CI, approvals, conflicts, and branch freshness, then merge a pull request atomically only if all guards pass.
Instructions
Validate guards and merge PR only if all pass (atomic operation)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organization) | |
| prNumber | Yes | Pull request number | |
| mergeMethod | No | Merge method to use (default: rebase) | rebase |
| localRepoPath | No | Local repo path whose base branch should be updated after merge. Fetches the merged base branch over GitHub HTTPS and fast-forwards the local base branch. | |
| requireUpToDate | No | Require branch to be up to date with base (default: false) |