approve_merge_request
Approve a merge request by providing the project ID and merge request IID. Optionally include the HEAD SHA to confirm the request hasn't changed, and password when re-authentication is required.
Instructions
Approve a merge request. Requires appropriate permissions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | The HEAD of the merge request. Optional, but used to ensure the merge request hasn't changed since you last reviewed it | |
| project_id | No | Project ID or complete URL-encoded path to project | |
| approval_password | No | Current user's password. Required if 'Require user re-authentication to approve' is enabled in the project settings | |
| merge_request_iid | No | The IID of the merge request to approve |