From 90bfa73dca36e92a4e62ac8eb38b1daebe4fce01 Mon Sep 17 00:00:00 2001 From: Conrad Date: Wed, 6 May 2020 10:14:06 +0200 Subject: [PATCH] Renamed autoparameters to options --- README.md | 2 +- action.yml | 4 ++-- entrypoint.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0937743..633266a 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The following parameters can be used in your custom action configuration. | file_pattern | :x: | '*' | Custom file pattern for `git add`| | dependencies | :x: | 'requirements.txt' | Path for the repositories 'requirements.txt'. If you have none, you may skip this.| | checkpath | :x: | '.' | The path autopep8 checks | -| autoparameters | :x: | ' ' | Parameters to use with autopep8 | +| options | :x: | ' ' | Parameters to use with autopep8 | | dry | :x: | false | Dry-run the action to fail when detecting PEP-8 uncompliant files, instead of automatically fixing them. | diff --git a/action.yml b/action.yml index d6056aa..e3e4cca 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ inputs: description: Commit options required: false file_pattern: - description: File pattern used for "git add" + description: File pattern used for `git add` required: false default: '*' dependencies: @@ -23,7 +23,7 @@ inputs: description: Path autopep8 checks required: false default: '.' - autoparameters: + options: description: Parameters for autopep8 required: false default: '' diff --git a/entrypoint.sh b/entrypoint.sh index b5eb4c3..3723aa6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -35,7 +35,7 @@ pip install -r $INPUT_DEPENDENCIES || echo "No dependency file found." # Apply PEP 8 echo "Running autopep8..." -autopep8 -i -r $INPUT_CHECKPATH $INPUT_AUTOPARAMETERS || echo "Problem running autopep8!" +autopep8 -i -r $INPUT_CHECKPATH $INPUT_OPTIONS || echo "Problem running autopep8!" if _git_changed; then