Skip to content

Commit 0e9e8ab

Browse files
committed
Add github action to check authorship information
1 parent 8f25760 commit 0e9e8ab

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Authorship
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
8+
authors:
9+
name: check authors
10+
runs-on: ubuntu-latest
11+
steps:
12+
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
16+
- name: Install fish
17+
run: |
18+
sudo apt-get install -qy fish
19+
20+
- name: Check authors
21+
run: |
22+
git fetch origin ${{ github.base_ref }}
23+
HEN_HOUSE/scripts/admin/check-authors.fish origin/${{ github.base_ref }}..HEAD

.github/workflows/check-build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
name: coding style
2020
uses: ./.github/workflows/check-coding-style.yaml
2121

22+
name: authorship
23+
uses: ./.github/workflows/check-authors.yaml
24+
2225
build:
2326

2427
strategy:

0 commit comments

Comments
 (0)