diff --git a/action.yml b/action.yml index 48938a9..e0f69a8 100644 --- a/action.yml +++ b/action.yml @@ -4,9 +4,6 @@ description: Automatically runs some django tasks. author: Conrad Großer inputs: - commit_options: - description: Commit options for the changed data - required: false commit_message: description: Commit message of the changed data required: false diff --git a/entrypoint.sh b/entrypoint.sh index 16e2e62..71c8e5e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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