Skip to content

Commit

Permalink
Merge pull request #3 from noah-software/dev_commit_options
Browse files Browse the repository at this point in the history
Removed commit_options parameter
  • Loading branch information
creyD authored Oct 6, 2020
2 parents 74401f5 + f6d42f6 commit 96d8638
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
3 changes: 0 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ description: Automatically runs some django tasks.
author: Conrad Großer <[email protected]>

inputs:
commit_options:
description: Commit options for the changed data
required: false
commit_message:
description: Commit message of the changed data
required: false
Expand Down
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96d8638

Please sign in to comment.