From 297ac3ccc87b9e7ed9bf39315e6e731da2f0615f Mon Sep 17 00:00:00 2001 From: Alex Roan Date: Tue, 2 Apr 2024 10:51:58 +0100 Subject: [PATCH] Critical only --- .github/workflows/run_aderyn.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_aderyn.yml b/.github/workflows/run_aderyn.yml index 827c74d2d..8d66e2723 100644 --- a/.github/workflows/run_aderyn.yml +++ b/.github/workflows/run_aderyn.yml @@ -25,7 +25,7 @@ jobs: - name: Check report run: | - jq '.issue_count | .critical, .high, .medium' ci-report.json | while read value; do + jq '.issue_count | .critical' ci-report.json | while read value; do if [ "$value" -gt 0 ]; then echo "Found issues: critical, high, or medium issue count is above zero." exit 1