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

Enable automatic branch deletion for repository with api

https://help.github.com/en/articles/managing-the-automatic-deletion-of-branches

 

This exists, which is nice

 

https://developer.github.com/v3/repos/

 

This exists, which is also nice

 

Unfortunately, the latter doesn't seem to acknowledge the former, and AFAICT there is no means of managing the automtic deletion of branches through the API, only the UI.

 

Did I miss where it's actually located within the APIs? If I didn't and it can't be managed through APIs, is this on the roadmap to add? Excited to do this for the many repos we manage.

 

Thank you!

2 Replies
Copilot Lvl 2
Message 2 of 3

Re: Enable automatic branch deletion for repository with api

FWIW as an enterprise customer I did contact support and this was the response I got:

Hi Todd, Thank you for sending this in. We have an open feature request for this and have added your feedback. I cannot say if or when this will be implemented. Keep an eye on the release notes for information on when and if this makes it into the product. ​Additionally, you can keep an eye on api changes to API v3 and GraphQL API v4 here, respectively: ​ - https://developer.github.com/changes/ - https://developer.github.com/v4/changelog/

So hopefully it will get implemented and added. If you're an enterprise/professional customer reading this, you should probably contact support to add your voice towards getting the feature added!

Moderator
Message 3 of 3

Re: Enable automatic branch deletion for repository with api

Hello @ojintoad

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information. As you’ll notice, your Topic is now in the Github Action board. No action is needed on your part; you can continue the conversation as normal here.

 

Also, thank you for your feedback! We're always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I've logged your feedback 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.

Once again, thank you for your input!

 

-MChevy422

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