Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport won't work after renaming the target branch for those Pull Requests targeting the old branch #4168

Closed
v1v opened this issue Feb 23, 2022 · 2 comments

Comments

@v1v
Copy link
Contributor

v1v commented Feb 23, 2022

Expected Behavior

Backport to happen

Actual Behavior

Backport won't happen

Steps to Reproduce the Problem

  1. Merge a Pull Request
  2. Rename the target branch
  3. GitHub command with Mergifyio backport <branch>

Specifications

Likely this is a corner case.

@sileht
Copy link
Member

sileht commented Feb 23, 2022

Not sure we can do anything about this, the pull request still references the old target branch even if it does not exist. There is no way for Mergify to known/understand the branch has been renamed or deleted.

@v1v
Copy link
Contributor Author

v1v commented Mar 1, 2022

I understand this is a kind of corner case, :( Thanks @sileht , I'll close this issue now

@v1v v1v closed this as completed Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants