-
Notifications
You must be signed in to change notification settings - Fork 593
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
Unable to select default branch (main
) on upstream repo, when working off a fork
#5470
Comments
@RasmusWL the initial suggestion is expected: If you are on a fork, and you create a branch from a branch that isn't the default branch (exactly as you did), then the suggested base branch will be the branch that you branched off of. Branches from the upstream repo should be listed in the "Base" picker" as you expected. However, it looks like we aren't detecting your upstream repo at all. Can you share the output of |
Sure thing 👍
( |
Thanks, can you also share the value of |
I can repro. We don't fetch all branches if it takes more than 5 seconds to fetch them all. Even when this happens, we should still include |
* Unable to select default branch (`main`) on upstream repo, when working off a fork Fixes #5470 * Remove duplicate check * Add metadata check back in
Steps to Reproduce:
Work on a fork of a repo.
Create a branch on top of a non-main branch on your own fork
Use extension to start creating a PR.
Use the
Change Repository...
feature of the branch selector of the base branch, set it to upstream (github/codeql)Search for
main
on upstream(I am able to select
main
on theorigin
remote, but that just files a PR against themain
branch on my own fork 🙈)The text was updated successfully, but these errors were encountered: