tweak reviewdog reporter
This commit is contained in:
8
.github/workflows/reviewdog.yml
vendored
8
.github/workflows/reviewdog.yml
vendored
@@ -10,8 +10,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- uses: haya14busa/action-cond@v1
|
||||||
|
id: reporter
|
||||||
|
with:
|
||||||
|
cond: ${{ github.event_name == 'pull_request' }}
|
||||||
|
if_true: "github-pr-review"
|
||||||
|
if_false: "github-check"
|
||||||
- uses: reviewdog/action-shellcheck@v1
|
- uses: reviewdog/action-shellcheck@v1
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.github_token }}
|
github_token: ${{ secrets.github_token }}
|
||||||
reporter: github-check
|
reporter: ${{ steps.reporter.outputs.value }}
|
||||||
level: warning
|
level: warning
|
||||||
|
|||||||
Reference in New Issue
Block a user