Merge pull request #166 from semiotic-ai/release-please--branches--main #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- 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/workflows/*.yaml' \ | |
. |