Creating pull request on github assumes source is personal fork of user

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.0
    • Affects Version/s: None
    • Component/s: libraries
    • None

      The method GitHubRepository::createPullRequest takes a target repository and the assumption is that a pull request will be created from the repository the method is called on. This is however not the case. The method sets the 'head' parameter to "username:srcbranch", which github will interpret as the source repo being the user's personal fork. However, we need to sometimes create PRs from other forks, e.g. in a different org (openjdk-bots).

            Assignee:
            Erik Joelsson
            Reporter:
            Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: