workflows/labels: handle null reviewer
Review user can be null when the user has deleted their account since posting the review. Fixes #417627
This commit is contained in:
@@ -201,7 +201,7 @@ jobs:
|
||||
pull_number: pull_request.number
|
||||
}))
|
||||
.filter(review => review.state == 'APPROVED')
|
||||
.map(review => review.user.id)
|
||||
.map(review => review.user?.id)
|
||||
)
|
||||
|
||||
const maintainers = new Set(Object.keys(
|
||||
|
||||
Reference in New Issue
Block a user