diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index a651720..32bf887 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -16,8 +16,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Check header files - run: "find include/small_gicp -type f | xargs -I filename bash -c 'if ! grep -q SPDX-License-Identifier filename; then echo filename : lisence not found; exit 1; fi'" - - - name: Check source files - run: "find src/small_gicp -type f | xargs -I filename bash -c 'if ! grep -q SPDX-License-Identifier filename; then echo filename : lisence not found; exit 1; fi'" + - name: Check license + run: | + find include/small_gicp src/small_gicp -type f | xargs -I filename bash -c 'if ! grep -q SPDX-License-Identifier filename; then echo filename : lisence not found; exit 1; fi' \ No newline at end of file