Skip to content

Github action for notifiying of missing email in AUTHOR file #9

Github action for notifiying of missing email in AUTHOR file

Github action for notifiying of missing email in AUTHOR file #9

Workflow file for this run

name: Check PR Author
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
check-author:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Check if PR author is in AUTHORS file
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT_PATH: ${{ github.event_path }}
run: |
sh -x .github/workflows/check_authors.sh "${{ github.base_ref }}..${{ github.base_ref }}"