Merge pull request #3 from noah-software/dev_commit_options
Removed commit_options parameter
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user