From c8ded2885e7f3b72df92f2c37da724701cc09d4e Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Fri, 26 Jun 2020 21:00:48 +0200 Subject: [PATCH] Simplify IF Condition --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 78a8d72..1fe4d4d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,7 @@ set -eu _main() { _switch_to_repository - if _git_is_dirty || [ "$INPUT_SKIP_DIRTY_CHECK" = true ]; then + if _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then echo "::set-output name=changes_detected::true";