Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Do not throw error on empty approved review #46

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

hyperupcall
Copy link
Contributor

Hello Again!

When performing a GitHub code review, approving the PR with an no typed body would throw an error (would look something like this.

As noted in the code comments, when doing a GitHub review, it is possible to request changes, only comment, or approve. The GitHub web UI only allows successfully sending a review with no body if the PR is "approved".

This fixes that case so no error is thrown. I've tested it here and it seems to work

@orta orta merged commit b18d7f6 into OSS-Docs-Tools:master Feb 18, 2025
2 checks passed
@orta
Copy link
Collaborator

orta commented Feb 18, 2025

This seems very reasonable to me 👍🏻

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants