Hard Code Options

This commit is contained in:
Stefan Zweifel 2020-04-22 20:36:26 +02:00
parent fbbf9665a8
commit 5dae7dbdb7

View File

@ -56,7 +56,7 @@ _local_commit() {
if [ -n "$INPUT_COMMIT_OPTIONS" ] if [ -n "$INPUT_COMMIT_OPTIONS" ]
then then
echo "::debug::Apply commit options $INPUT_COMMIT_OPTIONS"; 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" "$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;
else 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"; 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 fi