Skip to content

Is it possible to open a pull request on a public repo owned by an organization using a fork branch as head with Github App? #39178

Discussion options

You must be logged in to vote

I have added "maintainer_can_modify": False in the request body and now it works, but this doesn't seem to be documented, I couldn't find anything searching fork_collab. I also have to authenticate as the installation on my organization, which is a little bit counterintuitive because when you open a PR in the browser or using personal access token you authenticate as the user who is opening the PR. In this case though the bot opens the PR, so I think it makes sense.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arunsathiya
Comment options

Answer selected by antoniosarosi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API and Webhooks Discussions and conversations related to APIs or Webhooks Question
2 participants