From 20c6ea90d6b9df3f707de67953686c9d4f6e5124 Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Wed, 18 Dec 2024 12:00:07 +0100 Subject: [PATCH] Cannot add Reviewer to PR once github-actions is added as a reviewer (#6564) Fixes #6443 --- src/github/pullRequestModel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github/pullRequestModel.ts b/src/github/pullRequestModel.ts index 1306295bd6..2584fb37b6 100644 --- a/src/github/pullRequestModel.ts +++ b/src/github/pullRequestModel.ts @@ -988,7 +988,7 @@ export class PullRequestModel extends IssueModel implements IPullRe input: { pullRequestId: this.graphNodeId, teamIds: teamReviewers, - userIds: reviewers.filter(r => !r.startsWith('BOT')), + userIds: reviewers.filter(r => r && !r.startsWith('BOT')), }, }, });