-
Notifications
You must be signed in to change notification settings - Fork 124
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
Adapt checks to fit repo's merge strategy #11
Comments
Further info: https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button API can be used to explicitly set the Also, an edge case for squash commits (via @francisfuzz):
|
GitHub PR can be merged in three ways. Let's call them
merge
,squash
, andrebase
.This bot should check the repo's merge button configuration and change its behavior accordingly:
merge
orrebase
, then a semantic PR title is not adequate, as it won't become a commit message. In this case, at least one semantic commit is required in the PR.squash
, then a semantic PR title is required, as any semantic commits in the PR will be squashed.The text was updated successfully, but these errors were encountered: