> ## Documentation Index
> Fetch the complete documentation index at: https://ai-development-environment.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Merge requests

> Browse, review, update, and merge GitLab merge requests.

The **Merge requests** page at `/gitlab/merge-requests` lists requests authored by you, requests awaiting your review, or all requests visible to the token. Filters can span managed projects or target one project.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/ai-development-environment/Qw3Fog1xz9Qqt4no/images/light/gitlab-merge-requests.png?fit=max&auto=format&n=Qw3Fog1xz9Qqt4no&q=85&s=6796ae7c93c5ea85c50db403169f6d8a" alt="GitLab merge requests page in light theme" width="3840" height="2160" data-path="images/light/gitlab-merge-requests.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/ai-development-environment/vDVIhNqxHEltj6_h/images/dark/gitlab-merge-requests.png?fit=max&auto=format&n=vDVIhNqxHEltj6_h&q=85&s=1271332bc37a302571c0c5d57210f458" alt="GitLab merge requests page in dark theme" width="3840" height="2160" data-path="images/dark/gitlab-merge-requests.png" />
</Frame>

Open a merge request to inspect its description, commits, reviewers, labels, mergeability, source and target branches, conflicts, discussions, and related pipelines.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/ai-development-environment/Qw3Fog1xz9Qqt4no/images/light/gitlab-merge-request-detail.png?fit=max&auto=format&n=Qw3Fog1xz9Qqt4no&q=85&s=a3454252c0983a46a1c81da2ce2b1dab" alt="GitLab merge request details page in light theme" width="3840" height="2160" data-path="images/light/gitlab-merge-request-detail.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/ai-development-environment/vDVIhNqxHEltj6_h/images/dark/gitlab-merge-request-detail.png?fit=max&auto=format&n=vDVIhNqxHEltj6_h&q=85&s=ef54c532431e40600861cdaed5fe210b" alt="GitLab merge request details page in dark theme" width="3840" height="2160" data-path="images/dark/gitlab-merge-request-detail.png" />
</Frame>

## Actions

Depending on your GitLab permissions, you can:

* Create a merge request and set reviewers, labels, squash, and source-branch removal
* Update the title, description, labels, reviewers, or open state
* Reply to discussions and resolve or reopen resolvable threads
* Approve, comment, or request changes
* Merge immediately or enable auto-merge when the pipeline succeeds
* Squash commits and remove the source branch during merge

Review outcomes use GitLab's supported review quick actions, including `/submit_review approve`, `reviewed`, and `requested_changes`. GitLab tier- or permission-dependent outcomes are disabled when the capability is known to be unavailable; an API rejection is shown as a capability message without disabling the rest of the merge request.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/ai-development-environment/Qw3Fog1xz9Qqt4no/images/light/gitlab-comments.png?fit=max&auto=format&n=Qw3Fog1xz9Qqt4no&q=85&s=82de90f14079b72d6fb3a3bd3235ef9a" alt="GitLab review discussions page in light theme" width="3840" height="2160" data-path="images/light/gitlab-comments.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/ai-development-environment/vDVIhNqxHEltj6_h/images/dark/gitlab-comments.png?fit=max&auto=format&n=vDVIhNqxHEltj6_h&q=85&s=c5daea6276907b4e5a677c2930f718d4" alt="GitLab review discussions page in dark theme" width="3840" height="2160" data-path="images/dark/gitlab-comments.png" />
</Frame>

<Note>
  GitLab calls pull requests “merge requests.” GitHub routes and stored pull-request data remain unchanged when GitLab is enabled.
</Note>
