github-tools / github-tools/github
Get all protected branches of a repo
Open
easy pull request
enhancement
PRs welcome
- Dominant language
- JavaScript
- Stars
- 3.8k
- Forks
- 809
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.