-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1.13 KB
/
license_headers_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: License headers check
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
check:
name: License headers check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install addlicense
run: |
wget https://github.com/google/addlicense/releases/download/v1.1.1/addlicense_1.1.1_Linux_x86_64.tar.gz
tar -xzf addlicense_1.1.1_Linux_x86_64.tar.gz
sudo mv addlicense /usr/local/bin
- name: Check license headers
run: >
addlicense \
-check \
-c "Semiotic AI, Inc." \
-l "apache" \
-s=only \
-ignore '.github/workflows/*.yml' \
-ignore '.github/*.yml' \
-ignore '.github/workflows/*.yaml' \
-ignore '.github/*.yaml' \
-ignore 'crates/forrestrie/protos/type.proto' \
-ignore 'crates/firehose-protos/protos/bstream.proto' \
-ignore 'crates/firehose-protos/protos/block.proto' \
-ignore 'crates/firehose-protos/protos/firehose.proto' \
.