-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Currently the
# If `--mode` occurs in args and `INPUT_CHECKBOX` is set, exit with an error
# Use `--mode` instead of `--mode task` to ensure that the checkbox is not getting overwritten
if [[ "$ARGS" =~ "--mode" ]] && [ -n "${INPUT_CHECKBOX:-}" ]; then
echo "Error: '--mode' is set in args but 'checkbox' is set in the action configuration. Please remove one of them to avoid conflicts."
exit 1
fi
checks if the checkbox has a value and not if it's true or false resulting in always true...
Metadata
Metadata
Assignees
Labels
No labels