Skip to content

Fix conflict check #298

@Arteiii

Description

@Arteiii

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions