github / github/platform-samples
Get repo default branch
Offen
- Vorherrschende Sprache
- Shell
- Sterne
- 2.2k
- Forks
- 1.9k
- Ø Merge
- 7 T. 19 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- sql
- Bereich
- databases
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100