Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

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.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants