From 279ccdd9cf9a9be1f95967bf23c02553f88d9b19 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:18:00 -0700 Subject: [PATCH] Ignore translation bot user --- src/anyRepoHandlePullRequest.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/anyRepoHandlePullRequest.ts b/src/anyRepoHandlePullRequest.ts index 8722026..2b57f07 100644 --- a/src/anyRepoHandlePullRequest.ts +++ b/src/anyRepoHandlePullRequest.ts @@ -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 }