From 1fd7071f90fcb6d622af18f61c7656b7bc143c44 Mon Sep 17 00:00:00 2001 From: River <26424577+wusatosi@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:02:48 -0400 Subject: [PATCH] only run review dog on prs --- .github/workflows/pre-commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 635fa0b..cc12949 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -35,6 +35,7 @@ jobs: continue-on-error: true - name: suggester / pre-commit + if: ${{ github.event_name == 'pull_request' }} uses: reviewdog/action-suggester@v1 with: tool_name: pre-commit