microsoft / microsoft/pxt

Make GitHub Integration Work with Default Branches of Any Name

Open
#9,744 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
641
Avg merge
12h 4m
Merged PRs (30d)
57

Description

We currently assume a default "master" branch in quite a lot of our code. In a few places, we also check for "main", but it'd be good to make it so the whole system worked regardless of the default branch name.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start with a repository-wide search for hard-coded "master" and "main" references, then trace the GitHub integration paths that use them. Done means the integration works with a default branch of any name, with relevant existing tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.