Removed commit_options parameter

This commit is contained in:
2020-10-06 16:52:42 +02:00
parent 74401f545a
commit 50f921714f
2 changed files with 1 additions and 5 deletions

View File

@@ -4,9 +4,6 @@ description: Automatically runs some django tasks.
author: Conrad Großer <conrad@noah.tech>
inputs:
commit_options:
description: Commit options for the changed data
required: false
commit_message:
description: Commit message of the changed data
required: false

View File

@@ -37,9 +37,8 @@ if _git_changed;
then
# Calling method to configure the git environemnt
_git_setup
echo "Commiting and pushing changes..."
# Commit and push changes back
git commit -a -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>" ${INPUT_COMMIT_OPTIONS:+"$INPUT_COMMIT_OPTIONS"}
git commit -a -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>"
git push origin
echo "Changes pushed successfully."
else