From 05fb732f980a7c516662a4dcfc1ad537b51b2236 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 14 Apr 2021 13:48:22 +0530 Subject: [PATCH] github: disable clippy check in PRs --- .github/workflows/check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4bbd42a..21bde40 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -34,6 +34,7 @@ jobs: args: -- --check - name: Annotate commit with clippy warnings + if: "${{ github.event_name == 'push' }}" uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -53,4 +54,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: doc - args: --no-deps \ No newline at end of file + args: --no-deps