diff --git a/.github/workflows/on-issue-comment.yml b/.github/workflows/on-issue-comment.yml index 7ddaec5f..fb4af224 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') || contains(github.event.comment.body, 'usx'))) || ( contains(github.event.comment.body, 'install') && contains(github.event.comment.body, 'mediafire')) + if: (( contains(github.event.comment.body, 'Download') || contains(github.event.comment.body, 'install') || contains(github.event.comment.body, 'mediafire') || contains(github.event.comment.body, 'changeme') ) && ( 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