delete-merged-branch icon indicating copy to clipboard operation
delete-merged-branch copied to clipboard

Automatic change of base branch does not work

Open adamdanielczyk opened this issue 4 years ago • 1 comments

Hey,

I am faced with following use case, where 3 PRs exist, PR number 2 is being merged, and consequently branchC is being removed:

  1. branchB -> branchA
  2. branchC -> branchB
  3. branchD -> branchC

The behavior of delete-merged-branch integration is slightly different compared to the native Automatically delete head branches repository option:

  • integration: branchC is removed, PR number 3 shows a message that This branch has conflicts that must be resolved and manual change of base branch is required

  • native: branchC is also removed, however base branch in PR number 3 is automatically changed with the following message shown Base automatically changed from branchC to branchB

Is there an option to make the integration work the same as the native one?

adamdanielczyk avatar Jan 22 '21 11:01 adamdanielczyk

Hi @adamdanielczyk. Currently this is not in the scope of this App, nor there is a plan to support this. I'm however open to PRs that would add such a feature. I think the delete webhook would be a good start.

SvanBoxel avatar Jan 25 '21 12:01 SvanBoxel