Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 4

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 Replies
Community Manager
Message 2 of 4

Re: Repository API paramater to enable automatic deletion of branches

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.


Thank you for your perspective and your contribution!
All the Best

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 2
Message 3 of 4

Re: Repository API paramater to enable automatic deletion of branches

@nyahbhinghiPrincess , thank you for accepting this feature request!

Ground Controller Lvl 1
Message 4 of 4

Re: Repository API paramater to enable automatic deletion of branches

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!