diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 55c4192..96b36bf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,7 +22,7 @@ jobs: - name: OPA Check if: ${{ !cancelled() }} - run: opa check --strict --max-errors 0 . + run: find . -type f -name '*.rego' -depth 1 -print0 | xargs -0L1 opa check --strict --max-errors 0 - name: Regal Lint if: ${{ !cancelled() }}