github / github/platform-samples

Get repo default branch

Open
#760 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
2.2k
Forks
1.9k
Avg merge
7d 19h
Merged PRs (30d)
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.