kennknowles commented on code in PR #37663:
URL: https://github.com/apache/beam/pull/37663#discussion_r2842255543


##########
scripts/ci/pr-bot/processPrUpdate.ts:
##########
@@ -64,7 +64,20 @@ async function areReviewersAssigned(
   stateClient: typeof PersistentState
 ): Promise<boolean> {
   const prState = await stateClient.getPrState(pullNumber);
-  return Object.values(prState.reviewersAssignedForLabels).length > 0;
+  if (Object.values(prState.reviewersAssignedForLabels).length > 0) {
+    return true;
+  }
+  const pull = (
+    await getGitHubClient().rest.pulls.get({
+      owner: REPO_OWNER,
+      repo: REPO,
+      pull_number: pullNumber,
+    })
+  ).data;

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to