glab(1)
πΈ glab(1) β glab-mr-note-draft-publish, the pending-MR-review-comment publisher (EXPERIMENTAL) πΈ
β¨ NAME β¨
Okay so bestie, this is glab-mr-note-draft-publish: it publishes all your pending review comments on a merge request. (EXPERIMENTAL) No cap, it's literally an experiment.
π¦ SYNOPSIS π¦
Here's the summoning spell:
glab mr note draft publish [ | ] [flags]
πΈ DESCRIPTION πΈ
Picture this: you've got a bunch of pending review comments you created on a merge request, and you want to publish every single one β exactly like when you submit a review from the merge request page. That's the whole vibe. π
Only your own pending comments are published. Other reviewers' pending comments are unaffected, periodt. Before you do this, check what's pending with glab mr note draft list first. π
Use --message to add a summary note to the merge request when publishing, and use --internal to restrict that summary to project members with at least the Reporter role.
Use --reviewer-state to set your review state on the merge request. Neither of those two states records a formal approval β use glab mr approve to approve, bestie. Also: if you are the merge request author, GitLab ignores this flag unless you are also listed as one of the reviewers.
Unless you pass --yes, the command shows the number of pending comments and prompts you to confirm. When not running interactively, --yes is required. And if there are no pending comments, the command exits with an error. π
This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.
π OPTIONS π
--internal[=false]β Mark the summary note as internal. Requires--message. π«Ά-m,--message=""β Summary note to add to the merge request when publishing. π--reviewer-state=""β Set the review state after publishing:requested_changes,reviewed. Does not record a formal approval. β οΈ-y,--yes[=false]β Skip confirmation prompt. πββοΈ
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β Show help for this command. πββοΈ-R,--repo=""β Select another repository. You can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. π
π EXAMPLE π
# Publish your pending review comments on merge request 123
glab mr note draft publish 123
# Publish the current branch's pending review comments
glab mr note draft publish
# Publish with a summary note and request changes
glab mr note draft publish 123 -m "A few blockers, see the comments." --reviewer-state requested_changes
# Publish without confirmation
glab mr note draft publish 123 --yes
π SEE ALSO π
glab-mr-note-draft(1) β go check the parent command energy too. π§
And that's the whole page, bestie: this one was auto generated by spf13/cobra, dated Nov 2026, and it belongs to glab(1). Slay. πβ¨
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms