desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Creating Pull Request doesn't take fork behavior into account

Open sergiou87 opened this issue 3 years ago • 0 comments

The problem

Using Branch -> Create Pull Request from a fork, will open the browser to create the PR in the parent repo, even if the fork behavior is set to "For my own purposes": https://github.com/desktop/desktop/blob/eeec2730468db2adb14256bca01002c7532dc963/app/src/lib/stores/app-store.ts#L6041-L6058

Release version

3.1.2

Operating system

macOS Monterey 12.6

Steps to reproduce the behavior

  1. Fork a repository
  2. Set its fork behavior to For my own purposes
  3. Create a branch
  4. Commit some changes
  5. Click on Branch -> Create Pull Request

You'd expect to be creating a PR to your fork repo, but instead you will create it in the parent repo.

Log files

No response

Screenshots

No response

Additional context

No response

sergiou87 avatar Oct 19 '22 14:10 sergiou87