From 2321ccc9f051a9bc001b82365f8bf92fc5c1cf87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Fri, 7 Jul 2023 14:13:48 +0200 Subject: [PATCH] Fix: Ignore version input 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. --- lint-python/action.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lint-python/action.yaml b/lint-python/action.yaml index 5004709c..7bd161af 100644 --- a/lint-python/action.yaml +++ b/lint-python/action.yaml @@ -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" @@ -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 }}