diff --git a/entrypoint.sh b/entrypoint.sh index 1c1b6f5..17a553b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,7 @@ set -eu _main() { _switch_to_repository - if _git_is_dirty || [ -n "$INPUT_SKIP_DIRTY_CHECK" ]; then + if _git_is_dirty -o [ "$INPUT_SKIP_DIRTY_CHECK" = true ]; then echo "::set-output name=changes_detected::true";