gitlab_approve_merge_request
Approve merge requests on GitLab using project ID and merge request internal ID, ensuring compliance with approval rules. Returns approval status post-action.
Instructions
Add your approval to a merge request. Required for MRs with approval rules. Note: you cannot approve your own MRs. Returns approval status after action.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
mr_iid | Yes | Merge request internal ID (integer). Project-specific MR number (e.g., !456). Not the global MR ID | |
project_id | No | Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided |