Skip to content

accept_merge_request: explicitly remove source branch

Tobias Kahlki requested to merge remove-source-branch-on-merge into master

A bug in python-gitlab > 2.7.0 brought this up: In the past we relied on the merge request's setting, whether the source branch should be deleted or not after a merge. Since we're using the API's merge function in a fully automated task, however, the branch should always be deleted. Add the according argument explicitly.

Edited by Tobias Kahlki

Merge request reports

Loading