From 7f3b39d30087b0a673a5b1fc10b1071ec4538dae Mon Sep 17 00:00:00 2001 From: Matthew Donoughe Date: Thu, 11 Jul 2024 17:51:31 -0400 Subject: [PATCH] opa check individual policies --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }}