Skip to content
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

fix(bot): error parsing response with no commits #831

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

sbdchd
Copy link
Collaborator

@sbdchd sbdchd commented Jul 4, 2022

When a PR doesn't have any commits, we were failing to parse the response.

I think we could probably improve our mocking situation so its at the actual http response level rather than mocking the method, since the method gets called multiple times with different params.

@sbdchd sbdchd requested a review from chdsbd July 4, 2022 20:36
@sbdchd sbdchd added the automerge Mark PR for auto merge by Kodiak label Jul 4, 2022
@kodiakhq kodiakhq bot merged commit 633b3a8 into master Jul 4, 2022
@kodiakhq kodiakhq bot deleted the steve/fix-error-empty-prs branch July 4, 2022 20:54
@sbdchd sbdchd restored the steve/fix-error-empty-prs branch July 4, 2022 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Mark PR for auto merge by Kodiak
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants