Skip to content

Commit

Permalink
Fix: Ignore version input
Browse files Browse the repository at this point in the history
Don't forward version input anymore. This resulted in workflow warnings because the deprecation message is raised already if the input is set. Not only if it has a value.
  • Loading branch information
bjoernricks committed Jul 7, 2023
1 parent 4536c4b commit 2321ccc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lint-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
description: "Python packages to lint"
required: true
version:
description: "Python version that should be installed. Deprecated: Use `python-version` input instead."
description: "Deprecated: Use `python-version` input instead. version input is ignored."
deprecationMessage: "version input is deprecated. Please use `python-version` input instead."
python-version:
description: "Python version that should be installed"
Expand Down Expand Up @@ -41,7 +41,6 @@ runs:
- name: Install poetry
uses: greenbone/actions/poetry@v2
with:
version: ${{ inputs.version }}
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
cache: ${{ inputs.cache }}
Expand Down

0 comments on commit 2321ccc

Please sign in to comment.