chdsbd / kodiak

🔮 A bot to automatically update and merge GitHub PRs

Home Page:https://kodiakhq.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Delete branch on merge" randomly fails

fabiendem opened this issue · comments

Hello,

We use Kodiak on our repo and rely on the delete_branch_on_merge feature.
While most of the time the branch gets deleted after merge as expected, it looks like sometimes the deletion just won't happen.
There is no error message visible.

We do have the following parameter in our config:

delete_branch_on_merge = true

Are you aware of such an issue?
Please let me know which extra information could be useful.

Cheers!

Hi @fabiendem,

I believe the delete_branch_on_merge isn't always reliable. I'd recommend using the "Automatically delete head branches" setting on your GitHub repository, which GitHub added after delete_branch_on_merge existed in Kodiak.