-
Notifications
You must be signed in to change notification settings - Fork 57
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
No target branches found for this PR
error
#475
Comments
Hi there, Thanks for the kind words. What version are you using and did the problem start occuring after you upgraded? |
... ah, I see you are on the main branch. Will take a look |
@sqren it looks like the action is now trying to backport to a hypothetical "foo" branch: microsoft/CCF#5618 (comment) Echoing what @jumaffre has already said, we are very grateful, |
I am not 100% sure why this is happening. I have a theory that because the backport action runs immediately after the pull request is merged, the Github API doesn't always reflect the true state yet, which leads the backport tool into an invalid state. Or, it could just be a bug on my end 🤷 Either way, I recently added a check to prevent the action from starting, if there are no branches to backport to. I've reverted that in https://github.com/sqren/backport-github-action/pull/110/files#diff-69c9100f2a3041c22e8fddf77d13fd7eb1aa42a8a200aa35a81ea589c135e66a and hope that solves the problem. Let me know if this comes up again! |
My bad! Talk about testing in production 😱 I was trying to repro your problem, and that caused the noise on the PR (I've deleted the comments) |
No harm done :) Thank you for looking into this and adding the check, the action is working as expected now as far as I can tell: microsoft/CCF#5618 (comment) (there's a merge conflict, but that's unrelated). |
Closing this issue as our backport pipeline is now working. Thank you @sqren! |
First, thank you very much for this tool/GHA, which has been saving us many manual operations backporting commits to release branches 💯
We've started seeing the following error in our GitHub Actions pipeline:
This used to work fine before (last successful run 2 weeks ago) and we haven't updated our
.backportrc.json
apart from the breaking change in the template engine.I also can't find anything obvious in the commit history on this repo that could have caused this issue. Do you know what could have caused this?
The text was updated successfully, but these errors were encountered: