mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
Hard Code Options
This commit is contained in:
parent
fbbf9665a8
commit
5dae7dbdb7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user