Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions plugins/me/skills/create-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ PR_URL=$(gh pr create --title "$(git log -1 --pretty=%s)" --body "<filled body>"
gh pr merge --auto --squash || {
gh pr checks --watch
"${CLAUDE_PLUGIN_ROOT}/skills/create-pr/scripts/verify-pr-status.sh"
# exit 0: safe to merge directly
# exit 1: broken — use me:pr-pass
VERIFY_EXIT=$?
# exit 1: broken — STOP, use me:pr-pass, do NOT merge
if [[ $VERIFY_EXIT -eq 1 ]]; then exit 1; fi
# exit 0 or 2: safe to merge directly
gh pr merge --squash
}
```
Expand Down
Loading