Skip to content

Update default branch to main #40

Description

@davidcheung
  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
    only: # only branches matching the below regex filters will run
    - /^master$/

    we could just update so it supports both in a regex /^(master|main)$/ or something like that

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions