Skip to content

Commit

Permalink
Add github action to check authorship information
Browse files Browse the repository at this point in the history
  • Loading branch information
ftessier committed Aug 2, 2023
1 parent 15c1043 commit 5ec8a0a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/check-authors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Authorship

on:
workflow_call:

jobs:

authors:
name: check authors
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v3

- name: Install fish
run: |
sudo apt-get install -qy fish
- name: Check authors
run: |
git fetch origin ${{ github.base_ref }}
HEN_HOUSE/scripts/admin/check-authors.fish origin/${{ github.base_ref }}..HEAD
3 changes: 3 additions & 0 deletions .github/workflows/check-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
name: coding style
uses: ./.github/workflows/check-coding-style.yaml

name: authorship
uses: ./.github/workflows/check-authors.yaml

build:

strategy:
Expand Down

0 comments on commit 5ec8a0a

Please sign in to comment.