Skip to content

Commit eefc2f1

Browse files
skitttpantelis
authored andcommitted
Only fail builds for high+ vulns
Since the vulnerability scan doesn't distinguish between vulnerabilities added by the PR and those coming from vulnerability updates, PRs are regularly blocked because of unrelated vulnerabilities. Arguably this is desirable for important vulnerabilities since it forces them to be handled; but other vulnerabilities shouldn't block PRs. This changes the fail threshold to high, so that only vulnerabilities with severity high or critical will block the build. Signed-off-by: Stephen Kitt <[email protected]>
1 parent 8580338 commit eefc2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/linting.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
with:
159159
path: "."
160160
fail-build: true
161-
severity-cutoff: negligible
161+
severity-cutoff: high
162162
- name: Show Anchore scan SARIF report
163163
if: always()
164164
run: cat ${{ steps.scan.outputs.sarif }}

0 commit comments

Comments
 (0)