home | help
glab(1) 								 glab(1)

NAME
     glab-mr-note-draft-publish  - Publish all your pending review comments on a
     merge request. (EXPERIMENTAL)

SYNOPSIS
     glab mr note draft publish [ | ] [flags]

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 glab mr note draft list first.

     Use --message to add a summary note to the merge request  when  publishing,
     and  --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
     state records a formal approval; use glab mr approve to approve. 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.
     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  --mes-
     sage.

     -m,  --message=""	     Summary  note to add to the merge request when pub-
     lishing.

     --reviewer-state=""       Set  the  review  state	after  publishing:   re-
     quested_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 either OWNER/REPO
     or GROUP/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)

Auto generated by spf13/cobra	    Nov 2026				 glab(1)

home | help