mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
workflows/labels: handle null reviewer
Review user can be null when the user has deleted their account since
posting the review.
Fixes #417627
(cherry picked from commit 2116e927da)
This commit is contained in:
committed by
github-actions[bot]
parent
8f49bca3dc
commit
e3f742f97c
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
@@ -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