reading users field from the reviews object for calculating if reviewers have been set
This commit is contained in:
parent
ba5d6c9108
commit
c99f67bea4
|
@ -102,6 +102,6 @@ if (hasPngs) {
|
|||
}
|
||||
|
||||
// Check for reviewers
|
||||
if (github.requested_reviewers.length == 0 && !pr.draft) {
|
||||
if (github.requested_reviewers.users.length == 0 && !pr.draft) {
|
||||
warn("Please add a reviewer to your PR.")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue