Repository API paramater to enable automatic deletion of branches

GitHub has released a nice feature recently - automatic deletion of branches

However, it seems like there is no APIv3 paramater to enable it for the repository.

It would be very helpful to add this paramater, so it can be managed with IaC tools e.g. Terraform

Cheers!

3 Likes

Hi @grem11n,

Thanks for this feedback! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.

2 Likes

@nyahbhinghiprincess , thank you for accepting this feature request!

2 Likes

Hi @nyahbhinghiprincess , thanks for logging this - it’s a feature I desperately need so I don’t have to plough through dozens of repos manually. 

Thank you!

Thank you @grem11n for raising it!

3 Likes