From 67b484cc7635fa5ae28e1ddb48c7b6b38860259d Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 16 Jul 2024 22:20:47 -0700 Subject: [PATCH] fix: allow inputs.penetration_test=false --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index d9671e3..4265a46 100644 --- a/action.yml +++ b/action.yml @@ -59,7 +59,7 @@ inputs: ### Deprecated # All penetration tests have been deprecated in favour of scheduled jobs penetration_test: - default: '' + default: false # penetration_test_fail: # penetration_test_create_issue: # penetration_test_token: @@ -89,7 +89,7 @@ runs: fi # Deprecation notices - if [ ! -z ${{ inputs.penetration_test }} ]; then + if [ ! -z ${{ inputs.penetration_test }} != "false" ]; then echo -e "All penetration testing has been deprecated. Instead we recommend running in a scheduled job. \n" echo -e "Please see https://github.com/zaproxy/action-full-scan for the source action.\n" echo -e "An example of a scheduled job with ZAP penetration testing can be found here:"