diff --git a/.github/workflows/run-linter.yml b/.github/workflows/run-linter.yml index 723b6c20..a418a425 100644 --- a/.github/workflows/run-linter.yml +++ b/.github/workflows/run-linter.yml @@ -25,11 +25,12 @@ jobs: pip install .[check] - name: Lint checks run: | - flake8 py7zr tests | ./bin/reviewdog -f flake8 -reporter=github-check -fail-level=info - mypy py7zr | ./bin/reviewdog -f mypy -reporter=github-check -fail-level=warning - pylint **/*.py | ./bin/reviewdog -efm="%f:%l:%c: %m" -name="pylint" -reporter=github-check -fail-level=error -filter-mode=added + flake8 py7zr tests | ./bin/reviewdog -f flake8 -reporter=github-pr-check -level=error + mypy py7zr | ./bin/reviewdog -f mypy -reporter=github-pr-check -level=error + pylint **/*.py | ./bin/reviewdog -efm="%f:%l:%c: %m" -name="pylint" -reporter=github-pr-check -fail-level=error -level=warning env: REVIEWDOG_TOKEN: ${{ secrets.REVIEWDOG_TOKEN }} + REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} docs: name: Document checks