diff --git a/dist/index.js b/dist/index.js index 8239bd1..c9bf9ad 100644 --- a/dist/index.js +++ b/dist/index.js @@ -29029,7 +29029,7 @@ async function run() { owner, repo, issue_number: prNumber - })).data.filter(c => c.user?.login === 'github-actions[bot]'); + })).data.filter(c => c.user?.type === 'Bot'); const reviewComments = (await octokit.rest.pulls.listReviewComments({ owner, repo, diff --git a/src/main.ts b/src/main.ts index a50d311..7408a83 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,7 @@ export async function run(): Promise { repo, issue_number: prNumber }) - ).data.filter(c => c.user?.login === 'github-actions[bot]') + ).data.filter(c => c.user?.type === 'Bot') const reviewComments = ( await octokit.rest.pulls.listReviewComments({