From e8f24c9539f82f2997452628d0332ff824cdd3d3 Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 26 Aug 2025 19:09:15 -0400 Subject: [PATCH] sync --- github/index.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/github/index.ts b/github/index.ts index 32b2e42d0..0e6546188 100644 --- a/github/index.ts +++ b/github/index.ts @@ -630,9 +630,8 @@ async function fetchPR() { // For pr comment: // - include all pr comments // - include all review comments that are - const part = - Context.eventName() === "pull_request_review_comment_created" - ? ` + const part = isEventPullRequestReviewComment() + ? ` reviewThreads(last: 100) { nodes { id @@ -651,7 +650,7 @@ async function fetchPR() { } } }` - : ` + : ` comments(first: 100) { nodes { id