From 1584805827a985acdaf3870f5048c8cb36246185 Mon Sep 17 00:00:00 2001 From: Romain Lespinasse Date: Sat, 16 Dec 2023 22:59:59 +0100 Subject: [PATCH] some tweaks --- src/runner.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/runner.sh b/src/runner.sh index 050bfa3..fbf5a48 100755 --- a/src/runner.sh +++ b/src/runner.sh @@ -89,10 +89,7 @@ elif [ "${INPUT_ACTION_MODE}" == "auto" ]; then action_mode="reference" elif [ -n "${GITHUB_HEAD_REF}" ]; then action_mode="pull_request" - elif [ "${GITHUB_EVENT_NAME}" == "push" ] \ - && [ -n "${git_contains_output}" ] \ - && [ "${INPUT_INTERNAL_PUSH_BEFORE}" != "0000000000000000000000000000000000000000" ] \ - && [ "${INPUT_INTERNAL_PUSH_FORCED}" == "false" ]; then + elif [ "${GITHUB_EVENT_NAME}" == "push" ] && [ -n "${git_contains_output}" ] && [ "${INPUT_INTERNAL_PUSH_BEFORE}" != "0000000000000000000000000000000000000000" ] && [ "${INPUT_INTERNAL_PUSH_FORCED}" == "false" ]; then action_mode="push" else action_mode="all"