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"