From 0fedad24486a0a0f61d0db3e8e05d4418fd317b7 Mon Sep 17 00:00:00 2001 From: Ron Izraeli Date: Mon, 24 Jul 2023 10:01:31 +0300 Subject: [PATCH] Update code-analysis.yml Change Spectral to fail on error --- .github/workflows/code-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index d90c9bd..dda37b2 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -32,4 +32,4 @@ jobs: uses: SpectralOps/spectral-github-action@v2 with: spectral-dsn: ${{ env.SPECTRAL_DSN }} - spectral-args: scan --ok + spectral-args: scan --fail-on-error --engines secrets,iac,oss --asset-mapping github.${{ github.repository_owner }}