rickub/clipublic Fork
⑂ main
Commits
⬇ Clone ▾
git clone https://git.rickub.com/rickub/cli.git
git clone ssh://git@rickub.com/rickub/cli.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

pr create opens a draft that pr merge then refuses #2

Closed@ogirardot opened this issue Sep 3, 2026 · 1 comment
  • @ogirardot opened this issue · Sep 3, 2026
    $ 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": false explicitly; 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 list do not show the draft state either, so the refusal comes as a surprise.

    Reproduced with rickub 0.1.0 against rickub.com.

    Expected: like gh, pr create opens a ready MR by default and takes --draft to opt in; a pr ready <number> (with --undo) flips the state; pr view and pr list show draft.

  • @ogirardot · Sep 3, 2026

    Fixed on main in 72b5c57 (verified against rickub.com with a rebuilt binary; ships in the next release).

Sign in to comment.