Skip to content

Commit 87a3a5d

Browse files
committed
use github-pr-check for pull requests
1 parent 89afcca commit 87a3a5d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/reviewdog.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: reviewdog/action-vint@v1
15+
if: github.event_name == 'pull_request'
16+
with:
17+
github_token: ${{ secrets.github_token }}
18+
reporter: github-pr-check
19+
level: warning
20+
- uses: reviewdog/action-vint@v1
21+
if: github.event_name != 'pull_request'
1522
with:
1623
github_token: ${{ secrets.github_token }}
1724
reporter: github-check
25+
level: warning

0 commit comments

Comments
 (0)