jouet pr next
- Usage:
jouet pr next [FLAGS] [PRS]…
Say the one thing each PR needs next, and the command for it
Works through a fixed order and stops at the first state that applies: merged, closed, draft, conflict, mergeable_unknown, behind_base, checks_failing, checks_pending, changes_requested, unresolved_threads, entire_findings, entire_gates, awaiting_approval, blocked, auto_merge, ready_to_merge. The states come from the same data and attention codes as pr status. Exits 0 when nothing is left to do, 10 when the agent must act and 20 when waiting on someone or something else; with several PRs, 10 wins over 20. These two codes are outside the shared table on purpose.
Arguments
[PRS]…— PRs as numbers, URLs, OWNER/REPO#N or branch names. Defaults to the current branch's PR
Flags
--mine— Add the open PRs authored by the token's user--search <QUERY>— Add the PRs matching a GitHub search query--repo <OWNER/NAME>— The repository for bare numbers, branches, --mine and --search. Repeatable. Defaults to the git remote--settle <DUR>— How long to wait for GitHub to compute an unknown mergeable state (default 20s; 0 disables)-h --help— Print help