-
Notifications
You must be signed in to change notification settings - Fork 697
Open
Labels
Description
Hallo,
I have been doing some small coding with this module so far to automate some of our repetitive tasks dealing with a bigger amount of git repositories. Now I am trying to automate merging approved pull requests using the merge_pull_request(...) method.
Is there a way to have the source branch automatically deleted after merging, as it is offered by the web gui and also by the bitbucket REST API[1]? At least merge_pull_request() does not seem to offer this functionality. Did I miss anything or do I have to implement this behaviour in 2 separate steps (merge_pull_request() && delete_branch())?
Thanks for any hint.
Cheers,
Chris
ba3n3
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
[-]Bitbucket - Delete source branch when merging Pull Request[/-][+][Bitbucket] - Delete source branch when merging Pull Request[/+]gonchik commentedon Feb 19, 2023
Hallo,
@PostChrO did you find the solution ?
if so, I will be happy to look the MR request :)
theChrO commentedon Feb 20, 2023
no, didn't look further into this topic.
as I understand this, the "delete after merge" functionality of the API is not implemented as of now? In the first step I'm looking for confirmation to make sure I didn't miss anything in the code.