pinnacle/.github/workflows/license_headers.yml

22 lines
415 B
YAML
Raw Normal View History

2023-06-25 23:14:13 +02:00
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
2023-06-25 23:18:23 +02:00
run: go install github.com/google/addlicense@latest
2023-06-25 23:14:13 +02:00
- name: Check headers
2023-06-26 00:21:39 +02:00
run: $HOME/go/bin/addlicense -check -l mpl ./src