mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-18 22:26:12 +01:00
Add license header workflow
This commit is contained in:
parent
1d052ba2b2
commit
ec8a488806
1 changed files with 21 additions and 0 deletions
21
.github/workflows/license_headers.yml
vendored
Normal file
21
.github/workflows/license_headers.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Check MPL license headers
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
pull_request:
|
||||
branches:
|
||||
- "main"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check_headers:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install addlicense
|
||||
run: go install github.com/google/addlicense@latest
|
||||
- name: Check headers
|
||||
run: $GOPATH/bin/addlicense -check -l mpl *.rs
|
Loading…
Reference in a new issue