From 908446c00209926a299d9f4b8afb00fc5c61fd9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6m=C3=B6ri=20Zsolt?= Date: Fri, 1 Nov 2019 11:03:23 +0100 Subject: [PATCH] Use :+ to avoid empty string --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 673e044..37d53d4 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>" if is_defined "${INPUT_COMMIT_OPTIONS}"; then "${INPUT_COMMIT_OPTIONS}"; fi + git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>" ${INPUT_COMMIT_OPTIONS:+"$INPUT_COMMIT_OPTIONS"} git push --set-upstream origin "HEAD:$INPUT_BRANCH" else