The recently announced Branch Rename feature is awesome, but it seems to only handle pull requests targeting the branch, not originating from the branch:
When a branch is renamed:
Open pull requests and draft releases targeting the renamed branch will be retargeted automatically
I’d love to be able to rename a feature branch that has an open pull request to upstream and have that pull request not be closed, but updated to originate from the new branch name instead.
Would you consider adding that feature, please? Thanks!
Thank you for your mentioning of Branch Rename Feature. I was unfamiliar with this until you mentioned it. This is slowly helping me learn the code necessary for my success. Thanks.
That looks consistent with what I was seeing: the base branch is the target of the PR, and that probably works okay as documented. What doesn’t work is renaming the head branch of the PR—then the PR is closed instead of being updated.