From b43daad0c3c96202fc5800b511dfae8e6ecce864 Mon Sep 17 00:00:00 2001 From: Roger Coll Date: Mon, 5 Jun 2023 19:19:20 +0200 Subject: [PATCH] feat: add exit-code parameter to sarif format (#213) --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 6796754..b08dd17 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -105,6 +105,7 @@ if [ $template ] ;then fi if [ $exitCode ];then ARGS="$ARGS --exit-code $exitCode" + SARIF_ARGS="$SARIF_ARGS --exit-code $exitCode" fi if [ "$ignoreUnfixed" == "true" ] && [ "$scanType" != "config" ];then ARGS="$ARGS --ignore-unfixed"