spacedentist / spr

Submit pull requests for individual, amendable, rebaseable commits to GitHub
https://getcord.github.io/spr/
MIT License
376 stars 33 forks source link

Don't fetch all users/teams to check reviewers #159

Closed andrewhamon closed 1 year ago

andrewhamon commented 1 year ago

Prior to this PR, reviewers were validated by first fetching all teams and users, and then checking membership in that result. This suffers from a few issues:

This PR modifies reviewer validation by fetching only the users/teams specified in the commit.