github-tools / github-tools/github
Get all protected branches of a repo
Abierto
easy pull request
enhancement
PRs welcome
- Lenguaje dominante
- JavaScript
- Estrellas
- 3.8k
- Forks
- 809
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github, javascript
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100