Skip to content

Commit

Permalink
CICD-263: support "disable-active-verification" flag
Browse files Browse the repository at this point in the history
  • Loading branch information
saars-orca committed Aug 22, 2024
1 parent 7cf8c1d commit 0245309
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ inputs:
description: "Debug mode"
required: false
default: "false"
disable_active_verification:
description: "Disable active verification"
required: false
default: "false"
log_path:
description: "The directory path to specify where the logs should be written to on debug mode. Default to the current working directory"
required: false
Expand Down
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ function set_global_flags() {
if [ "${INPUT_DEBUG}" == "true" ]; then
GLOBAL_FLAGS+=(--debug)
fi
if [ "${INPUT_DISABLE_ACTIVE_VERIFICATION}" == "true" ]; then
GLOBAL_FLAGS+=(--disable-active-verification)
fi
if [ "${INPUT_LOG_PATH}" ]; then
GLOBAL_FLAGS+=(--log-path "${INPUT_LOG_PATH}")
fi
Expand Down

0 comments on commit 0245309

Please sign in to comment.