Skip to content

Get repo default branch #760

Open
Open
@trend-yafang-qiu

Description

@trend-yafang-qiu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions