From 12efc36860873fe1c09efc3ce00c60420cef8413 Mon Sep 17 00:00:00 2001 From: Conrad Date: Thu, 8 May 2025 10:23:14 +0200 Subject: [PATCH] fix: codacy warning --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 619b1d9..8b177aa 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -87,7 +87,7 @@ fi # If running under only_changed, reset every modified file that wasn't also modified in the last commit # This allows only_changed and dry to work together, and simplified the non-dry logic below -if [ $INPUT_ONLY_CHANGED = true -o $INPUT_ONLY_CHANGED_PR = true ] ; then +if [ $INPUT_ONLY_CHANGED = true] || [$INPUT_ONLY_CHANGED_PR = true ] ; then BASE_BRANCH=origin/$GITHUB_BASE_REF if $INPUT_ONLY_CHANGED; then BASE_BRANCH=HEAD~1