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