diff --git a/entrypoint.sh b/entrypoint.sh index 5756e36..673e044 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -45,7 +45,7 @@ then echo "INPUT_COMMIT_OPTIONS: ${INPUT_COMMIT_OPTIONS}" - git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>" is_defined "${INPUT_COMMIT_OPTIONS}" && "${INPUT_COMMIT_OPTIONS}" + git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>" if is_defined "${INPUT_COMMIT_OPTIONS}"; then "${INPUT_COMMIT_OPTIONS}"; fi git push --set-upstream origin "HEAD:$INPUT_BRANCH" else