Danger: don't complain about reviewers (#509)

Now we have a CODEOWNERS file a reviewer is assigned automatically,
so there's no need for this.

It also misfires a bunch (maybe if there are no _pending_ reviewers
because they've already reviewed?), so removing it fixes that noise.
This commit is contained in:
Chris Smith 2023-06-01 15:02:28 +01:00 committed by GitHub
parent 64e2015941
commit 5de90c3871

View file

@ -171,11 +171,6 @@ if (hasPngs) {
warn("You seem to have made changes to some images. Please consider using an vector drawable.")
}
// Check for reviewers
if (github.requested_reviewers.users.length == 0 && !pr.draft) {
warn("Please add a reviewer to your PR.")
}
// Check that translations have not been modified by developers
const translationAllowList = [
"RiotTranslateBot",