Fix pylint CI check running with no files (#4097)

This commit is contained in:
Silvano Cerza 2023-02-08 16:33:07 +01:00 committed by GitHub
parent 274746db07
commit adf4a3ea2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,5 +53,6 @@ jobs:
uses: ./.github/actions/python_cache/ uses: ./.github/actions/python_cache/
- name: Pylint - name: Pylint
if: steps.files.outputs.any_changed == 'true'
run: | run: |
pylint -ry -j 0 ${{ steps.files.outputs.all_changed_files }} pylint -ry -j 0 ${{ steps.files.outputs.all_changed_files }}