From 4c7ba6c1c79d673035776a8e14121fe856f30881 Mon Sep 17 00:00:00 2001 From: Shettland Date: Thu, 6 Jun 2024 13:26:54 +0200 Subject: [PATCH] Updated solution to stalled lint. fixed2 --- .github/workflows/python_lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index eb762528..aba4945f 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -25,6 +25,10 @@ jobs: - name: Check for Python file changes id: file_check uses: tj-actions/changed-files@v33 + with: + since_last_remote_commit: true + files: | + **.py - name: Run flake8 if: steps.file_check.outputs.any_changed == 'true' run: flake8 --ignore E501,W503,E203,W605 @@ -44,6 +48,10 @@ jobs: - name: Check for Python file changes id: file_check uses: tj-actions/changed-files@v34 + with: + since_last_remote_commit: true + files: | + **.py - name: Check code lints with Black if: steps.file_check.outputs.any_changed == 'true' uses: psf/black@stable