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

Pull requests created from a fork on a topic branch aren't discovered. #3512

Merged
merged 1 commit into from
May 5, 2022

Conversation

alexr00
Copy link
Member

@alexr00 alexr00 commented May 3, 2022

The meat of the fix is in src/github/folderRepositoryManger.ts and src/github/githubRepository.ts. The rest of the changes are either for reducing code duplication that would have resulted from the fix or glue code.

folderRepositoryManger.ts: We were not looking through all possible GH remotes to try to find the PR.
githubRepository.ts: I couldn't get the rest API to work at all for this, so I switched over to the GraphQL API instead.

Fixes #3511

@sbatten sbatten self-requested a review May 3, 2022 16:48
Copy link
Member

@sbatten sbatten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving since my question could be answered as the correct behavior.

src/github/folderRepositoryManager.ts Show resolved Hide resolved
@alexr00 alexr00 merged commit 3051a86 into main May 5, 2022
@alexr00 alexr00 added this to the May 2022 milestone May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pull requests created from a fork on a topic branch aren't discovered.
3 participants