Skip to content

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

Github action for notifiying of missing email in AUTHOR file

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

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: |
git fetch origin ${{ github.base_ref }} --depth 1
sh -x .github/workflows/check_authors.sh "${{ github.base_ref }}..${{ github.head_ref }}"