Delete Branch Event

Hi,

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.

Thanks,

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.

With that being said, we have an open issue you can subscribe to: https://github.com/drone/drone/issues/1878

1 Like