Skip to content

Check Email of Commit Author and Committer

Actions
Checks the email of the commit author and committer
v1.3
Latest
Star (1)

Tags

 (1)

commit-author-action

Test Runner

Checks commit's email with a given email domain.

NOTE: This action should be used with pull_request or push event

Inputs

email_domain

Required The domain of the email. Samples: "gmail.com", "@gmail.com".

github_token

Required Github token

error_on_fail

Default "true"

"true" Throws an error and fails workflow

"false" Doesn't fails workflow, writes invalid emails as a warning

Outputs

is_valid

Returns true or false

Example Usage

uses: semcelik/commit-author-action@master
with:
  email_domain: 'gmail.com'
  github_token: ${{ secrets.GITHUB_TOKEN }}
  error_on_fail: 'false'

Usage Samples

  • On Success image

  • On Fail

    • error_on_fail is true image

    • error_on_fail is false image

Check Email of Commit Author and Committer is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Checks the email of the commit author and committer
v1.3
Latest

Tags

 (1)

Check Email of Commit Author and Committer is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.