Delete Branch Event


I was wondering if drone has an event that can be triggered when a branch is deleted?

I would like to trigger a custom step that will delete ECS service when a branch is deleted.


1 Like

I need this, too. But I search the document but didn’t find relative description about this feature. Looks like there were several requests about this feature before:

I really hope it could come true one day.

Drone does not currently support a delete branch event. For a branch delete event, Drone would attempt to access the yaml for the branch and commit, and the yaml would not exists since it would be deleted. So there is not an easy way to implement this today, technically.

1 Like

Any update on this?