github
github copied to clipboard
Get all protected branches of a repo
Hi,
the listBranches()
method doesn't allow to filter protected branches.
Is there a workaround to get all protected branches of a repository?
Github API: https://developer.github.com/v3/repos/branches/#list-branches
I implemented what I needed in: https://github.com/github-tools/github/pull/481.
There is a PR for this in #483. Feel free to address the feedback and reopen. If no one gets around to implementing this, I'll probably get to it eventually.
http://github.github.com/github-flavored-markdown/