Skip to content

Commit

Permalink
use filter condition instead as type of login name
Browse files Browse the repository at this point in the history
  • Loading branch information
tnyo43 committed Mar 3, 2024
1 parent 125af79 commit ef12269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function run(): Promise<void> {
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({
Expand Down

0 comments on commit ef12269

Please sign in to comment.