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 name: reviewdog
on: on:
push:
pull_request: pull_request:
workflow_dispatch:
jobs: jobs:
shellcheck: shellcheck:
@ -14,9 +12,4 @@ jobs:
uses: reviewdog/action-shellcheck@v1 uses: reviewdog/action-shellcheck@v1
with: with:
github_token: ${{ github.token }} github_token: ${{ github.token }}
reporter: github-pr-review reporter: github-pr-review
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ github.token }}
reporter: github-check