Skip to content

Commit

Permalink
Update code-analysis.yml
Browse files Browse the repository at this point in the history
Change Spectral to fail on error
  • Loading branch information
chkp-roniz authored Jul 24, 2023
1 parent e1a5b27 commit 0fedad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 0fedad2

Please sign in to comment.