From 411119fa62a1d6e153514977ec155260a052c750 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Fri, 29 Sep 2023 22:54:58 +0000 Subject: [PATCH] cleanup --- src/plugins/greeter.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plugins/greeter.ts b/src/plugins/greeter.ts index 2e91876..a9079ea 100644 --- a/src/plugins/greeter.ts +++ b/src/plugins/greeter.ts @@ -5,11 +5,7 @@ import { extractOwnerRepo } from '../utils/extractOwnerRepo' import { senderIsBot } from '../utils/filter' export default async (app: App, payload: IssuePayload): Promise => { - if ( - senderIsBot(payload) || - payload.issue.title.startsWith('Request for removal') - ) - return + if (senderIsBot(payload)) return if (extractOwnerRepo(payload).repo !== 'integration') { await app.octokit.rest.issues.createComment({