Revert hard coded options

This commit is contained in:
Stefan Zweifel 2020-04-22 20:39:17 +02:00
parent 1f6bf5e4c0
commit f278d451d8

View File

@ -56,7 +56,7 @@ _local_commit() {
if [ -n "$INPUT_COMMIT_OPTIONS" ]
then
echo "::debug::Apply commit options $INPUT_COMMIT_OPTIONS";
git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR" --signoff --no-verify;
git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR" "$INPUT_COMMIT_OPTIONS";
else
git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR";
fi