Skip to content

Block PR's with a Git commit author email that does not match the domains specified.

License

Notifications You must be signed in to change notification settings

tfisicaro/commit-email-validation-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Validate git author email

This action validates that the git author email is in the list of allowed domains.

Inputs

domains

Required The allowed domains that the author email must match.

Outputs

valid

The output of the pattern matching the author emails.

Example usage

uses: tfisicaro/commit-email-validation-action@v1
with:
  domains: 'microsoft.com;github.com'
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

Block PR's with a Git commit author email that does not match the domains specified.

Resources

License

Stars

Watchers

Forks