chdsbd / kodiak

🔮 A bot to automatically update and merge GitHub PRs
https://kodiakhq.com
GNU Affero General Public License v3.0
1.03k stars 65 forks source link

ref(bot): use reviewDecision instead of custom calculation #762

Closed chdsbd closed 2 years ago

chdsbd commented 2 years ago

We can use reviewDecision to hopefully provide a more consistent view of reviews for a pull request.

My theory for some of the issues in #761 is that the GitHub API is being inconsistent when called via the v3 API vs the GraphQL API. Using only reviewDecision will help us avoid depending on the v3 API.

I've deployed this change