Skip to content

Commit c6a653d

Browse files
committed
try reviewdog for flake8
1 parent e513b28 commit c6a653d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

action.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@ runs:
2222
list-files: shell
2323

2424
- name: flake8
25-
shell: bash
26-
run: |
27-
python $GITHUB_ACTION_PATH/linting_orchestrator.py ${{ github.event_name == 'pull_request' }} flake8 ${{ steps.changes.outputs.addedOrModifiedPython_files }}
28-
env:
29-
GITHUB_TOKEN: ${{ inputs.github_token }}
30-
PR_NUMBER: ${{ github.event.number }}
31-
REPOSITORY_NAME: ${{ github.repository }}
25+
uses: reviewdog/action-flake8@v3
26+
with:
27+
flake8_args: ${{ steps.changes.outputs.addedOrModifiedPython_files }}
28+
reporter: github-pr-review
3229

3330
- name: mypy
3431
uses: tsuyoshicho/[email protected]

0 commit comments

Comments
 (0)