github / github/platform-samples
Get repo default branch
- Langage dominant
- Shell
- Étoiles
- 2.2k
- Forks
- 1.9k
- Merge moyen
- 7 j 19 h
- PR mergées (30 j)
- 1
Description
Hi,
Is it possible to get the repo's default branch with sql query?
In this script, it only list the protect branch info, but there is no default branch information.
sql/audit/repos-audit.sql
Anybody know which table store the default branch data ?
Thanks
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with sql/audit/repos-audit.sql and trace the tables and fields used for protected-branch information. Determine whether the repository default branch is available through the same queryable data, then update the audit script only if the required source is identified and verify that its output includes the default branch.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- sql
- Domaine
- databases
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100