14 lines
306 B
YAML
14 lines
306 B
YAML
|
name: Author in CONTRIBUTORS
|
||
|
|
||
|
on: [pull_request]
|
||
|
|
||
|
jobs:
|
||
|
check:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Check
|
||
|
run: |
|
||
|
headAuthor=$(git log -1 --pretty=format:'%ae')
|
||
|
git log --pretty=format:'%ae' CONTRIBUTORS | grep -q "$headAuthor"
|