Cancel merge when pipeline succeeds
gitlab_cancel_merge_when_pipeline_succeedsCancels a merge request's queued auto-merge set to run when the pipeline succeeds, using the project ID and merge request IID.
Instructions
Cancel a merge request's queued "merge when pipeline succeeds" (auto-merge).
Args: **kwargs: project_id and merge_request_iid (required).
Returns: Response: A wrapper containing the original response and a MergeRequest model.
Raises: MissingParameterError: If the project_id or merge_request_iid is missing. ParameterError: If invalid parameters are provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| name | No | ||
| group_id | No | ||
| user_ids | No | ||
| group_ids | No | ||
| rule_type | No | ||
| project_id | No | ||
| report_type | No | ||
| approval_rule_id | No | ||
| merge_request_iid | No | ||
| approvals_required | No | ||
| protected_branch_ids | No | ||
| applies_to_all_protected_branches | No |