| name | workon-merge |
| description | Merge a pull request and post a merge comment. Only use when explicitly requested. |
| disable-model-invocation | true |
| allowed-tools | Bash(workon:*) |
Merge Pull Request
IMPORTANT: Only run this when the user explicitly asks to merge.
Pre-merge Checklist
Before merging, verify:
- CI checks are passing:
workon pr-status
- Required approvals are received
- User has explicitly confirmed they want to merge
Steps
-
Check PR status:
workon pr-status
-
Ask for confirmation:
- Show the user the PR status
- Ask: "Are you sure you want to merge this PR?"
- Wait for explicit "yes" confirmation
-
Merge (only after confirmation):
workon merge [pr-number]
Never Auto-merge
This command should NEVER be run automatically. Always require explicit user confirmation.