diff --git a/README.md b/README.md index 9d31ef3..98f92c8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ A GitHub action for drawing a Django data model automatically. | Parameter | Required | Default | Description | | -------------- | :------: | :---------------: | ---------------------------------------- | -| commit_options | :x: | - | Custom git commit options | | commit_message | :x: | Added data schema | Custom git commit message | | output_path | :x: | . | Output path for generated files | | pip_path | :x: | requirements.txt | Requirements path for the Django project | 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