Prerelease #2
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 | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: '**.md' | |
pull_request: | |
branches: [ master ] | |
paths-ignore: '**.md' | |
jobs: | |
license_check: | |
name: License check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check license | |
run: | | |
find include/gtsam_points src/gtsam_points -type f | xargs -I filename bash -c 'if ! grep -q Copyright filename; then echo filename : lisence not found; exit 1; fi' |