github-tools / github-tools/github
Get all protected branches of a repo
未关闭
easy pull request
enhancement
PRs welcome
- 主要语言
- JavaScript
- 星标
- 3.8k
- 派生
- 809
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with the listBranches() method and compare its available options with the linked GitHub repository branches API documentation. The work is complete when the wrapper provides a clear way to retrieve all protected branches for a repository, with behavior verified against the API response.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, javascript
- 领域
- api
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100