diff --git a/.gitignore b/.gitignore index 4044ec2..49b433d 100644 --- a/.gitignore +++ b/.gitignore @@ -103,4 +103,6 @@ __tests__/runner/* *.code-workspace # Python -.venv \ No newline at end of file +.venv +venv +myenv diff --git a/action.yml b/action.yml index 227407e..207d90d 100644 --- a/action.yml +++ b/action.yml @@ -36,7 +36,7 @@ runs: id: pylint shell: bash run: | - { pylint ${{ steps.changed_files.outputs.changed_files || '*.py' }} --output-format=json2:pylint.json,colorized,text:pylint.txt; TASK_EXIT_CODE=$?; } || true + { pylint ${{ steps.changed_files.outputs.changed_files || '**/*.py' }} --output-format=json2:pylint.json,colorized,text:pylint.txt; TASK_EXIT_CODE=$?; } || true { echo "## Pylint" @@ -51,7 +51,7 @@ runs: echo "exitcode=$TASK_EXIT_CODE" >> $GITHUB_OUTPUT - name: Annotate Commit with Pylint Results - uses: karpikpl/pylint-annotation-action@v1.0.0 + uses: karpikpl/pylint-annotation-action@v1.0.1 id: pylint-annotation with: head-sha: ${{ steps.changed_files.outputs.head_sha || github.sha }}