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
Disallow merging except canceling the auto merge status #30659
base: main
Are you sure you want to change the base?
Disallow merging except canceling the auto merge status #30659
Conversation
Why it should force users to use one more step to cancel? I don't see anything wrong by allowing the merge without cancel. |
This is following GH's design. |
Why GitHub is right? |
In fact we need a state which indicates the checking is running, otherwise if the automerge checking is running and someone merge the pull request manually. Some inconsistent state of this pull request will be occupied. |
It is a new problem and it is not related to this PR. Even if you take this PR, then think about this case:
The reason is the same. So, if you would like to completely resolve the problem, I think it should also do something in backend code and add some tests. |
Yes, I will continue to this PR. |
Before:
Users can click merge button even if a pull request is on the automerge status
After:
Users have to
cancel
the automerge status before click merge button.