Use :+ to avoid empty string
This commit is contained in:
parent
2d23a29775
commit
908446c002
@ -45,7 +45,7 @@ then
|
|||||||
|
|
||||||
echo "INPUT_COMMIT_OPTIONS: ${INPUT_COMMIT_OPTIONS}"
|
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"
|
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user