> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Accept Merge Request

Merge changes submitted with MR.

<Note>
  External Documentation

  To learn more, visit the [GitLab documentation](https://docs.gitlab.com/ee/api/merge_requests.html#merge-a-merge-request).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter                    | Description                                                                                                                                          |
  | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Merge Commit Message         | Custom merge commit message.                                                                                                                         |
  | Merge Request Internal ID    | The internal ID of the merge request.                                                                                                                |
  | Merge When Pipeline Succeeds | If true the MR is merged when the pipeline succeeds.                                                                                                 |
  | Project ID                   | The ID or path of the project owned by the authenticated user. If the path is being used, it should be url encoded - for example: user%2my-project . |
  | Remove Source Branch         | If true removes the source branch.                                                                                                                   |
  | Squash                       | If true the commits are squashed into a single commit on merge.                                                                                      |
  | Squash Commit Message        | Custom squash commit message.                                                                                                                        |
</div>

## Workflow Library Example

[Accept Merge Request with Gitlab and Send Results Via Email](https://library.blinkops.com/workflows/accept-merge-request-with-gitlab-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/accept-merge-request-with-gitlab-and-send-results-via-email/canvas" />
</div>
