github / github/platform-samples
Get repo default branch
- Lingua principale
- Shell
- Stelle
- 2.2k
- Fork
- 1.9k
- Merge medio
- 7g 19h
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- sql
- Ambito
- databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100