From f040f3e7c2e5373eaba8141392375a759c60a614 Mon Sep 17 00:00:00 2001 From: mapx <10303732+mapx-@users.noreply.github.com> Date: Wed, 28 Aug 2024 10:08:38 +0300 Subject: [PATCH] upd del bad comments --- .github/workflows/on-issue-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-issue-comment.yml b/.github/workflows/on-issue-comment.yml index dd5c488f..0fac8819 100644 --- a/.github/workflows/on-issue-comment.yml +++ b/.github/workflows/on-issue-comment.yml @@ -5,7 +5,7 @@ jobs: check-if-bad-comment: name: delete bad comment runs-on: ubuntu-latest - if: contains(github.event.comment.body, 'mediafire') && contains(github.event.comment.body, 'gcc') + if: ( contains(github.event.comment.body, 'Download') || contains(github.event.comment.body, 'install') || contains(github.event.comment.body, 'mediafire') || contains(github.event.comment.body, 'changme') ) && contains(github.event.comment.body, 'gcc') permissions: write-all steps: - name: Delete comment