diff --git a/.github/workflows/check-for-emails.yml b/.github/workflows/check-for-emails.yml new file mode 100644 index 000000000..3643861d8 --- /dev/null +++ b/.github/workflows/check-for-emails.yml @@ -0,0 +1,18 @@ +on: + issue_comment: + types: [created, edited] + issues: + types: [opened, edited] +jobs: + find_emails: + runs-on: ubuntu-latest + name: Check for emails in issue comments + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Scan comment + id: scan + uses: seisvelas/comment-email-address-alerts@v3.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + exemptions: test,example.com,flowcrypt.com