Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-2242

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.0
    • None
    • 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).

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

              Created:
              Updated:
              Resolved: