Fix/shutdown lock #437
Workflow file for this run
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-checker | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
timeout-minutes: 20 # Lint should be done in 10 minutes. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install license-header-checker | |
run: curl -s https://raw.githubusercontent.com/lluissm/license-header-checker/master/install.sh | bash | |
- name: Run license check | |
run: ./bin/license-header-checker -v -r -i docs ./license_header.txt . py && [[ -z `git status -s` ]] |