-
Notifications
You must be signed in to change notification settings - Fork 19
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
handle squash-merge and rebase-merge PR #25
Comments
Squash merge should now be handled. |
(not rebase one though). |
As a temporary fix, could the bot report an error in this case instead of opening a bad PR? |
Probably I would have to dive into the code and figure out how to detect that ; and post a message. |
I took a quick look and couldn't figure out how to tell if a merge commit came from a rebase or squash (at least from the github rest api) (pull request docs). Either way, the Closest alternative I thought of would be to sidestep this, do the equivalent of note to selfRelevant code from this project: From the GraphQL API, Getting a rebased-commits associated PR
|
Trying to cherry-pick a squash-merge results in errors like:
Falling back to without
-m 1
would work in this case, but would likely fail in interesting ways for rebase-merge.The text was updated successfully, but these errors were encountered: