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

Update default branch to main #83

Closed
davidcheung opened this issue Oct 19, 2021 · 0 comments
Closed

Update default branch to main #83

davidcheung opened this issue Oct 19, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@davidcheung
Copy link
Contributor

  1. DEFAULT_BRANCH=master
    curl -XPUT "https://api.github.com/repos/$GITHUB_ORG/$GITHUB_REPO/branches/$DEFAULT_BRANCH/protection" \

probably can do the same as commitdev/zero#424 and run git config --get init.defaultBranch with a default

  1. In circleci pipeline
    we could just update so it supports both in a regex /^(master|main)$/ or something like that
@davidcheung davidcheung added the good first issue Good for newcomers label Oct 19, 2021
deven96 added a commit to deven96/zero-backend-go that referenced this issue Oct 23, 2021
deven96 added a commit to deven96/zero-backend-go that referenced this issue Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant