From 822f4e457c765979250a3aa34e71b88bd84c6050 Mon Sep 17 00:00:00 2001 From: Lawrence Goldstien Date: Thu, 7 Oct 2021 13:38:47 +0100 Subject: [PATCH] Make zap action fail if it picks up alerts --- .github/workflows/on-pull-request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index e673c6cb..fef2d91c 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -172,4 +172,5 @@ jobs: uses: zaproxy/action-baseline@v0.5.0 with: target: http://localhost:3000/ + fail_action: true rules_file_name: ".zap-baseline.conf"