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
gh pr merge can't be merged right now; try again in a few seconds #2544
Comments
@AndrewCS149 Thank you for reporting! We show this error message when the merge status of the PR as reported by the API is |
Even if I wait and try to merge later through the CLI I get the same error. I end up having to merge through the web app every time. The web app merge goes over smoothly as if there nothing wrong. |
Thanks, @AndrewCS149. I guess the solution would be to avoid erroring out on UNKNOWN merge status and just allow the merge to proceed— based on your experience, it's likely that it would succeed. |
I'm not exactly sure what you mean. If I try to merge it through the CLI, I immediately get the error. |
@AndrewCS149 Sorry that I wasn't more clear— I meant to say that we could try removing the condition in CLI source code that tests for |
I am also experiencing this issue, is this a recent introduction? Is it possible to downgrade |
also you had this exact idea when the original PR was created @mislav 😄 :
https://github.com/cli/cli/pull/899/files/28d8a9e7819eaf33c9ea0ae2ed35c5a636b38d3f#r429839747 |
Fixed in trunk 🤘 |
For some reason when I try to merge a pr with
gh pr merge
from my development branch into master I get the following error:Pull request #1 (Initial Commit.) can't be merged right now; try again in a few seconds
I am able to create and merge pr's from any other branch except into master. I have to go into the Github each time to commit the merge. My master did have a protection rule on it, but I took it off to see if that had any effect and it did not. I'm fairly certain that I have been able to merge into master before but I started having this issue more recently.
The text was updated successfully, but these errors were encountered: