Ignore translation bot user (#65)
This commit is contained in:
Родитель
2f30179deb
Коммит
f62fcc4bd4
|
@ -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
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче