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";