Pull requests are closed if the branch is renamed #65603
Unanswered
TheDcoder
asked this question in
Pull Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
Currently it's troublesome to rename a branch if a PR is already opened for it, upon renaming the branch the PR is automatically closed. Here's a real life example: megabyte-labs/install.doctor#111
It is impossible to avoid this issue if using the web UI to directly edit a file in a foreign repository since it does not let the user pick a name for the resulting forked branch.
The ideal fix would be to acknowledge a rename and update the PR to point to the newly renamed branch, at-least when done via the web UI itself since that action is unambiguous.
Beta Was this translation helpful? Give feedback.
All reactions