pr create opens a draft that pr merge then refuses #2
- @ogirardot opened this issue · Sep 3, 2026edited
$ rickub pr create --base main --head feature --title "Smoke PR" Opened merge request #1: Smoke PR $ rickub pr merge 1 --method squash rickub: this merge request is a draft — mark it ready for review before merging (merge_refused)The API opens merge requests as drafts unless the client sends
"draft": falseexplicitly; the CLI sends nothing, so every MR it creates is a draft, and the CLI has no command to mark one ready.pr view/pr listdo not show the draft state either, so the refusal comes as a surprise.Reproduced with
rickub 0.1.0against rickub.com.Expected: like
gh,pr createopens a ready MR by default and takes--draftto opt in; apr ready <number>(with--undo) flips the state;pr viewandpr listshowdraft. - @ogirardot · Sep 3, 2026edited
Fixed on main in 72b5c57 (verified against rickub.com with a rebuilt binary; ships in the next release).
Sign in to comment.