Closed jumaffre closed 9 months ago
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: https://github.com/microsoft/CCF/pull/5618#issuecomment-1707059214
Echoing what @jumaffre has already said, we are very grateful, backport
is a huge time saver for us!
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!
@sqren it looks like the action is now trying to backport to a hypothetical "foo" branch: microsoft/CCF#5618 (comment)
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)
@sqren it looks like the action is now trying to backport to a hypothetical "foo" branch: microsoft/CCF#5618 (comment)
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: https://github.com/microsoft/CCF/pull/5618#issuecomment-1707850500 (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?