Skip to content

Disabling "Hide placeholder of blocked elements" can be handy for identifying frame domains whereas "Hide placeholder of blacklisted elements" hides #1012

Disabling "Hide placeholder of blocked elements" can be handy for identifying frame domains whereas "Hide placeholder of blacklisted elements" hides

Disabling "Hide placeholder of blocked elements" can be handy for identifying frame domains whereas "Hide placeholder of blacklisted elements" hides #1012

name: on-issue-comment
on:
issue_comment:
types: created
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, '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') || contains(github.event.comment.body, 'gofile') ))
permissions: write-all
steps:
- name: Delete comment
env:
BODY: ${{ github.event.comment.body }}
run: |
echo " $BODY "
- uses: actions-cool/issues-helper@v3
with:
actions: 'delete-comment'
token: ${{ secrets.GITHUB_TOKEN }}
comment-id: ${{ github.event.comment.id }}