Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a configurable default branch #9

Merged
merged 1 commit into from
Apr 16, 2021

Commits on Apr 13, 2021

  1. Add support for a configurable default branch

    There has been a recent push to rename the default branch for git
    repositories to be something more inclusive than 'master'. Qiskit would
    like to make this transition and rename the default branch to 'main'.
    However, qiskit-bot has been blocking this transition because it
    unconditionally was using 'master' for generating pull requests,
    updating local checkouts, etc. To address this and enable us to
    transition away from using 'master' for our default branch this commit
    adds a new optional per repo configuration option 'default_branch' which
    is used to set the default branch for a repository. If not set it
    defaults to using master so there is no breaking change for the deployed
    bot and we can update the configuration as we rename the branches.
    Similarly for the metapackage repository a new optional configuration
    option, 'meta_repo_default_branch', is added that behaves the same way
    but for the meta_repo.
    mtreinish committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    92cc3f3 View commit details
    Browse the repository at this point in the history