approve_mr
Approve a merge request on GitLab, with optional SHA validation and user re-authentication.
Instructions
Approve a merge request. The authenticated user must have permission to approve.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | SHA of the HEAD commit. Approval fails if this does not match the current HEAD. | |
| project_id | Yes | Project ID or path | |
| approval_password | No | Current password of the authenticated user. Required if "Require user re-authentication" is enabled. | |
| merge_request_iid | Yes | Merge request internal ID |