From 6d3f626289df9d5eb7d9a930aa1a25eed1dcd82f Mon Sep 17 00:00:00 2001 From: mapx <10303732+mapx-@users.noreply.github.com> Date: Sat, 31 Aug 2024 09:45:14 +0300 Subject: [PATCH] upd wf --- .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 c630de30..7ddaec5f 100644 --- a/.github/workflows/on-issue-comment.yml +++ b/.github/workflows/on-issue-comment.yml @@ -6,7 +6,7 @@ jobs: check-if-bad-comment: name: delete bad comment runs-on: ubuntu-latest - 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') + 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') || contains(github.event.comment.body, 'usx'))) || ( contains(github.event.comment.body, 'install') && contains(github.event.comment.body, 'mediafire')) permissions: write-all steps: - name: Delete comment