Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the approvals_before_merge parameter to CreateMergeRequestOptions #1900

Merged
merged 1 commit into from Mar 23, 2024

Conversation

hansedong
Copy link
Contributor

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.

Signed-off-by: hansedong <skipper1314@gmail.com>
Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hansedong 👍🏻

@svanharmelen svanharmelen merged commit 3c16b45 into xanzy:main Mar 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants