.nh .TH "glab" "1" "Oct 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-mr-note-draft-publish - Publish all your pending review comments on a merge request. (EXPERIMENTAL) .SH SYNOPSIS \fBglab mr note draft publish [ | ] [flags]\fP .SH DESCRIPTION Publish every pending review comment you created on a merge request, as when you submit a review from the merge request page. Only your own pending comments are published; other reviewers' pending comments are unaffected. Check what is pending with \fBglab mr note draft list\fR first. .PP Use \fB--message\fR to add a summary note to the merge request when publishing, and \fB--internal\fR to restrict that summary to project members with at least the Reporter role. .PP Use \fB--reviewer-state\fR to set your review state on the merge request. Neither state records a formal approval; use \fBglab mr approve\fR to approve. If you are the merge request author, GitLab ignores this flag unless you are also listed as one of the reviewers. .PP Unless you pass \fB--yes\fR, the command shows the number of pending comments and prompts you to confirm. When not running interactively, \fB--yes\fR is required. If there are no pending comments, the command exits with an error. .PP 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/. .SH OPTIONS \fB--internal\fP[=false] Mark the summary note as internal. Requires --message. .PP \fB-m\fP, \fB--message\fP="" Summary note to add to the merge request when publishing. .PP \fB--reviewer-state\fP="" Set the review state after publishing: requested_changes, reviewed. Does not record a formal approval. .PP \fB-y\fP, \fB--yes\fP[=false] Skip confirmation prompt. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # 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 .EE .SH SEE ALSO \fBglab-mr-note-draft(1)\fP