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

[BUG] default GitHub branch name is hardcoded to "master" #4165

Open
DaveTryon opened this issue Oct 14, 2021 · 2 comments
Open

[BUG] default GitHub branch name is hardcoded to "master" #4165

DaveTryon opened this issue Oct 14, 2021 · 2 comments
Labels
enhancement New feature or request github-integration

Comments

@DaveTryon
Copy link

Bug Template

Describe the bug
When using the GitHub integration from MakeCode, the new repo defaults to the master branch. GitHub changed their default branch name for new repos to main recently, so I'd expect either the default to be main or to have a way to specify what branch gets used

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://makecode.microbit.org/#editor
  2. Create a project
  3. Click on the GitHub integration icon and save it to a GitHub repo
  4. Open the project on https://www.github.com
  5. Notice that the default branch is master

Expected behavior
I'd expect the GItHub default of main to be used

Desktop (please complete the following information):

  • OS: macOS 11.6
  • Browser: Chrome
  • Version: 94.0.4606.81

Additional context
Add any other context about the problem here.

@tballmsft tballmsft transferred this issue from microsoft/pxt Oct 14, 2021
@besacode
Copy link

besacode commented Jan 6, 2022

Looks like a duplicate of #3452

@abchatra abchatra added bug Something isn't working p2 github-integration enhancement New feature or request and removed bug Something isn't working p2 labels Sep 28, 2022
@abchatra
Copy link
Contributor

@eanders-ms did we implement this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request github-integration
Projects
None yet
Development

No branches or pull requests

3 participants