| 1 |
name: check contributor list |
| 2 |
|
| 3 |
on: |
| 4 |
workflow_dispatch: |
| 5 |
pull_request: |
| 6 |
paths: |
| 7 |
- 'CONTRIBUTING.md' |
| 8 |
- '.github/workflows/shortlog.yml' |
| 9 |
- '.mailmap' |
| 10 |
schedule: |
| 11 |
- cron: '37 06 * * 1' # 06:37, Monday |
| 12 |
|
| 13 |
jobs: |
| 14 |
test: |
| 15 |
runs-on: 'ubuntu-latest' |
| 16 |
timeout-minutes: 10 |
| 17 |
steps: |
| 18 |
- name: Checkout |
| 19 |
uses: actions/checkout@v5 |
| 20 |
with: |
| 21 |
fetch-depth: 0 # need to fetch all commits to check contributors |
| 22 |
ref: ${{ github.event.pull_request.head.sha }} |
| 23 |
|
| 24 |
- name: Check CONTRIBUTING.md |
| 25 |
uses: cylc/release-actions/check-shortlog@v1 |