mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
13 lines
306 B
YAML
13 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"
|