-
Notifications
You must be signed in to change notification settings - Fork 407
Exception if attempting to merge with empty commit message #370
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
Comments
Any chance of providing more detai lthan that? What version of github3.py you're using? Anything about the code you're using? etc. |
Version is |
Would appear GitHub changed their API. The commit message used to be optional but it looks like now they want the attribute there but with an empty string to accept the default. @jdiez17 would you like to submit a fix for this? |
May i take this bug? |
You may |
The GitHub API now requires a param `commit_message` with an empty value '' when merging a pull request. In such case the default value is used as a commit message. Providing an empty data string no longer works.
Fixes sigmavirus24#370 The GitHub API now requires a param `commit_message` with an empty value '' when merging a pull request. In such case the default value is used as a commit message. Providing an empty data string no longer works.
Fixes sigmavirus24#370 The GitHub API now requires a param `commit_message` with an empty value '' when merging a pull request. In such case the default value is used as a commit message. Providing an empty data string no longer works. (cherry picked from commit 39c06c9) Conflicts: tests/unit/test_pulls.py The test file was not backported because it doesn't exist on the destination branch.
Fixes sigmavirus24#370 The GitHub API now requires a param `commit_message` with an empty value '' when merging a pull request. In such case the default value is used as a commit message. Providing an empty data string no longer works.
The text was updated successfully, but these errors were encountered: