Expand description
jouet pr next: the one thing a PR needs next, after Kent C. Dodds’
ship-pr.mjs.
The order is fixed and the first state that applies wins: merged, closed,
draft, conflict, mergeability still unknown, behind its base, failing
checks, pending checks, changes requested, unresolved threads, open
Entire findings, another failing Entire gate, waiting on approval,
blocked by another branch protection rule, auto-merge, and finally ready
to merge. The states come from what pr status fetched,
and its attention codes and messages, so the two commands never disagree.
Structs§
- Next
- What a PR needs next, why, and the command that does it.
Enums§
Functions§
- next
- Works through the states in order and returns the first that applies.
prmust have been finished byFetched::finish, which fills in its attention codes.