Skip to content

Support GitHub default branches #14

@mrshu

Description

@mrshu

While pulldozer expects the default branch of the repos it clones to be master, GitHub now uses main as the default branch. As this value can be different per-repository, the proper fix would probably involve obtaining the default_branch value from the GitHub API.

Happy to help with putting a PR around that together -- I just wanted to first discuss what would be the best way of doing that withing the current setup.

Thanks!

cc @mayhewsw

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