Make GitHub Integration Work with Default Branches of Any Name
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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