Skip to content

Commit

Permalink
Ignore translation bot user
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Aug 29, 2024
1 parent 2f30179 commit 279ccdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/anyRepoHandlePullRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ const generatePRInfo = async (api: Octokit, payload: PullRequestEvent, logger: L
return {
thisIssue,
authorIsMemberOfTSTeam,
authorIsBot: payload.pull_request.user.login === "typescript-bot" || payload.pull_request.user.type === "Bot",
authorIsBot: payload.pull_request.user.login === "typescript-bot"
|| payload.pull_request.user.login === "csigs"
|| payload.pull_request.user.type === "Bot",
relatedIssues,
comments
}
Expand Down

0 comments on commit 279ccdd

Please sign in to comment.