Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Sep 29, 2023
1 parent 81e295d commit 411119f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/plugins/greeter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import { extractOwnerRepo } from '../utils/extractOwnerRepo'
import { senderIsBot } from '../utils/filter'

export default async (app: App, payload: IssuePayload): Promise<void> => {
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({
Expand Down

0 comments on commit 411119f

Please sign in to comment.