diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9ef89ff44..1d2ec0913 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -73,8 +73,8 @@ jobs: # if restricted > 0, CI will report an error. run: | result=$(make lint-licenses | awk '{print $7}') - if [ $result -ne 0 ]; then - exit 1 + if [ $result -gt 0 ]; then + exit 1 fi test: name: Unit test