Approve or Reject a Merge Request

As a reviewer, after you review the source code, you can add a special comment that indicates whether you approve the code changes or reject them. Approving a merge request implies that you don’t have any objections to changes made to the source code. Similarly, rejecting a merge request implies that you’ve an objection and don’t recommend merging branches.

Note:

If the Merges are only allowed when there are no comments with a Needs Attention status setting on the Branch Protection page was selected and a reviewer has added a comment with a Needs Attention status, the issue the reviewer raised must be addressed and the status cleared before the merge can happen.

Note that if you created the merge request, but didn’t add yourself as a reviewer, you can’t approve or reject the merge request. However, you can still close it or merge it with the target branch.

Here's how to approve or reject a merge request:

  1. Open the merge request.
  2. Click the Approve or Reject button at the right side of the page.
  3. In the dialog box that appears, add your comment, and click OK.
    Use the project’s wiki markup to format the comment.
You can see your feedback (approval or rejection) in the Reviewers list.