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]: head_repo missing from pull request create #2940

Open
1 task done
rogerfar opened this issue Jun 21, 2024 · 1 comment
Open
1 task done

[BUG]: head_repo missing from pull request create #2940

rogerfar opened this issue Jun 21, 2024 · 1 comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Bug Something isn't working as documented

Comments

@rogerfar
Copy link

What happened?

NewPullRequest does not contain the field "head_repo", used for cross-repository pull requests:
https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#create-a-pull-request

Versions

Octokit

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@rogerfar rogerfar added Status: Triage This is being looked at and prioritized Type: Bug Something isn't working as documented labels Jun 21, 2024
@kfcampbell kfcampbell added Status: Up for grabs Issues that are ready to be worked on by anyone and removed Status: Triage This is being looked at and prioritized labels Jun 21, 2024
@kfcampbell kfcampbell moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Jun 21, 2024
@calclavia
Copy link

I'm running into a similar issue where head_repo is somehow ignored by Github API. There's no way to use the API to make a PR from a fork that is named differently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Bug Something isn't working as documented
Projects
Status: 🔥 Backlog
Development

No branches or pull requests

3 participants