xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.36k stars 935 forks source link

Add the approvals_before_merge parameter to CreateMergeRequestOptions #1900

Closed hansedong closed 5 months ago

hansedong commented 5 months ago

I use the go-gitlab project to interact with the GitLab API, but I found that some parameters are missing.

image

https://docs.gitlab.com/ee/api/merge_requests.html#create-mr

I hope to add the parameter approvals_before_merge to control whether MR requires approvals.