git-pr
Shipping
Ships a branch and keeps its pull request honest: the push, CI, and a description that matches what was built.
How to call it
/git-pr [ship | describe] [PR] | Ship pushes and follows CI; describe brings the description up to date. |
|---|---|
push e veja CI green | Asking for a push with CI checked. |
What it does, in order
Push, when asked to.
Watch CI.
Confirm in the logs that CI ran the new tests, on the commit that is HEAD.
Triage what failed.
Bring the description, and the roadmap issue when a phase moved, in line with what was built.
The rules it keeps
- It pushes only when asked.
- Done means every check green on the commit that equals HEAD.
- The logs must show the new tests running.
- Title, description and roadmap issue match what was built.
- The report says whether it waited for CI.
What comes out
Each check and its state, the head commit, whether it waited for CI, what is still red and why, and what changed in the description or the issue.
Needs git and an authenticated gh.