Skip to content

Commit

Permalink
some tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse authored Dec 16, 2023
1 parent ee97831 commit 1584805
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1584805

Please sign in to comment.