Pull request opened by edit target to my forked repo instead of origin repo #62973
Replies: 3 comments 1 reply
-
This change was also observed in https://github.com/orgs/community/discussions/11729#discussioncomment-6631489, where a lot of folks were asking for it to work this way. |
Beta Was this translation helpful? Give feedback.
-
Personally, I would expect this PR target to original repo, because this edit button was mainly for one time update (you can only change one file within edit button editor, that is a more one-time thing). I won't be happy if I need to open two PR or manually change the base path for such one time, one file PR. |
Beta Was this translation helpful? Give feedback.
-
Something to note is that the default user experience is much different depending on whether the "Require a pull request before merging" rule is enabled in the target repo's "branch protection rules". Default Workflow when Branch Protection Rule Is Not Enabled
🙂 The user's contribution was submitted to the target repository as they intended. Default Workflow when Branch Protection Rule Is Enabled
🙁 The user's contribution was submitted to their fork. The maintainers of the target repository will never see it. The user will wonder why their contribution was ignored and be left with a negative impression of contributing to open source software projects. 🐛 The claim in the "Propose changes" dialog that committing to the target branch is impossible "because it is a protected branch" is false because, even though the target repo does have that rule enabled, forks don't inherit branch protection settings from the parent. The user is committing to the branch in their fork, which does not have the rule enabled. I submitted a bug report about this to GitHub. Required Workflow when Branch Protection Rule Is Enabled
😕 The user flow was significantly less intuitive. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Repro steps
Expect
In step 7, I should see base branch to be
dotnet/AspNetCore.Docs
, like this when I create the PR from Pull request pageWhen does it work before
Still works last week.
Beta Was this translation helpful? Give feedback.
All reactions