fix: only run reviewdog on PRs

This commit is contained in:
xyny 2024-05-19 17:48:59 +03:00
parent 111ab9ebeb
commit 9619250285

View file

@ -1,8 +1,6 @@
name: reviewdog
on:
push:
pull_request:
workflow_dispatch:
jobs:
shellcheck:
@ -14,9 +12,4 @@ jobs:
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ github.token }}
reporter: github-pr-review
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ github.token }}
reporter: github-check
reporter: github-pr-review