merge_when_pipeline_succeeds
deprecated in GitLab 17.11
Hello,
The merge_when_pipeline_succeeds attribute used in the PUT /projects/:id/merge_requests/:merge_request_iid/merge endpoint is deprecated. It should be replaced with the boolean auto_merge
. See gitlab-org/gitlab!184731 (merged) and https://docs.gitlab.com/api/merge_requests/#merge-a-merge-request for more details.
it is used in the method AcceptMergeRequest()
in the file merge_requests.go