Merge PR
Await CI checks, then merge when all pass.
Steps
- •Watch checks until they complete:
bash
gh pr checks <number> --watch
If --watch errors immediately (no checks reported yet), poll manually:
bash
sleep 15 && gh pr checks <number>
- •
If any check fails, fix the issue, commit, push, and re-run checks.
- •
When all checks pass, merge with squash and delete the branch:
bash
gh pr merge <number> --squash --delete-branch
- •Pull main to sync local:
bash
git checkout main && git pull