AGENT SKILL

merge-pr

暂无简介

License 许可
MIT
最近更新
2026-05-05
Stars
★ 2
Forks
1

02 资源文件 9

03 SKILL.md 正文

Merge PR

Await CI checks, then merge when all pass.

Steps

  1. Watch checks until they complete:
gh pr checks <number> --watch

If --watch errors immediately (no checks reported yet), poll manually:

sleep 15 && gh pr checks <number>
  1. If any check fails, fix the issue, commit, push, and re-run checks.

  2. When all checks pass, merge with squash and delete the branch:

gh pr merge <number> --squash --delete-branch
  1. Pull main to sync local:
git checkout main && git pull

04 同仓库更多 Skills