- Notifications
You must be signed in to change notification settings - Fork673
fix: remove default arguments for mergerequests.merge()#1818
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
adc9c7c
tod76152e
CompareThe arguments `should_remove_source_branch` and`merge_when_pipeline_succeeds` are optional arguments. We should notbe setting any default value for them.https://docs.gitlab.com/ee/api/merge_requests.html#accept-mrCloses:#1750
d76152e
to8e589c4
Comparecodecov-commenter commentedJan 8, 2022
Codecov Report
@@ Coverage Diff @@## main #1818 +/- ##======================================= Coverage 92.01% 92.01% ======================================= Files 76 76 Lines 4799 4799 ======================================= Hits 4416 4416 Misses 383 383
Flags with carried forward coverage won't be shown.Click here to find out more.
|
As we see in the functional tests this istechnically a breaking behavior. But only in the scenarios where In this case, |
@nejch I agree. As it is very confusing if the project default is set to remove it but then we are by default not removing it. |
The arguments
should_remove_source_branch
andmerge_when_pipeline_succeeds
are optional arguments. We should notbe setting any default value for them.
https://docs.gitlab.com/ee/api/merge_requests.html#accept-mr
Closes:#1750