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 approvals_before_merge to Project #88

Merged
merged 1 commit into from Feb 12, 2019

Conversation

bilby91
Copy link
Contributor

@bilby91 bilby91 commented Feb 11, 2019

I ended up implementing this attribute because for some reason, when updating a simple field on a project, the approvals_before_merge key was sent in the JSON with a null value. I guess this showed up when updating the gitlab dependency. Either way, a new attribute :)

I left the tests with 0 that is the default because this feature is available under the Bronze tier. Calling the api to update the number will always return 0 in the community edition.

@roidelapluie roidelapluie merged commit 56494b5 into gitlabhq:master Feb 12, 2019
@bilby91 bilby91 deleted the add-approvals-before-merge branch February 12, 2019 16:33
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants