Skip to content

Commit

Permalink
chore: give pr permission for reviewdog
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Dec 18, 2024
1 parent de441a1 commit cdef8aa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/run-linter.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: Run linter

on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
paths:
- 'aqt/**'

jobs:
linter:
Expand All @@ -24,8 +31,10 @@ jobs:
pip install -U pip tox wheel setuptools coveralls coverage[toml]
pip install .[check]
- name: run reviewdog
permissions:
pull-requests: write
run: |
./bin/reviewdog -runners=flake8,mypy,pylint -reporter=github-pr-check -conf=.reviewdog.yml
./bin/reviewdog -runners=flake8,mypy,pylint -reporter=github-pr-review -conf=.reviewdog.yml
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit cdef8aa

Please sign in to comment.