Skip to content

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

Github action for notifiying of missing email in AUTHOR file

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

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@v4
- 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 "origin/${{ github.base_ref }}..origin/${{ github.head_ref }}"