From db11abfe9c9314853cac425c1443665bc64f4d5a Mon Sep 17 00:00:00 2001 From: heerim hong Date: Thu, 24 Oct 2024 18:01:47 +0900 Subject: [PATCH] change scripts --- .github/workflows/on-issue-opened.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-issue-opened.yml b/.github/workflows/on-issue-opened.yml index 8fa4866..127c57d 100644 --- a/.github/workflows/on-issue-opened.yml +++ b/.github/workflows/on-issue-opened.yml @@ -12,7 +12,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | - const result = await github.rest.pulls.listCommentsForReview({ + const result = await github.rest.pulls.listReviewComments({ owner: context.payload.repository.owner, repo: context.payload.repository.name, pull_number: context.payload.issue.number,