Enable automatic branch deletion for repository with api #24530
-
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! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
FWIW as an enterprise customer I did contact support and this was the response I got:
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! |
Beta Was this translation helpful? Give feedback.
-
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. -MChevy422 |
Beta Was this translation helpful? Give feedback.
-
Respectfully, I’m confused. Nothing about managing this has to do with github actions and it’s actually just a setting on the repo that I’m asking to be made available on the API. Why would this be moved to GitHub Actions? |
Beta Was this translation helpful? Give feedback.
-
Hi @mchevy422 - I responded to this awhile ago flagging I think this move is incorrect given it is about API calls. Can you respond to my prior inquiry please? |
Beta Was this translation helpful? Give feedback.
-
I apologize, it was an honest mistake. I went ahead and moved it back to the correct location. MChevy422 |
Beta Was this translation helpful? Give feedback.
-
Note that |
Beta Was this translation helpful? Give feedback.
Note that
delete_branch_on_merge
is now supported (https://developer.github.com/v3/repos/#update-a-repository)