Skip to content

martgil/comment-email-address-alerts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This GitHub Action monitors all new issues and comments for email addresses. If it detects one, it leaves a comment in the same issue noting the email addresses.

To use it, just add this code to the file .github/workflows/main.yml:

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@v8
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}

That's it!

With that in place, any email addresses mentioned in comments will be monitored by the Action:


Screen Shot 2021-05-12 at 3 55 33 p m

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%