From 3462cd009f8ffcebbc41027358e26ff6c1276ebc Mon Sep 17 00:00:00 2001 From: Martin Frost Date: Mon, 18 Jul 2022 14:17:12 +0200 Subject: [PATCH] Only run `cargo clippy` for non-dependabot --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c9b4de..bb5ec86 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,10 +2,6 @@ on: push name: CI -permissions: - issues: write - pull-requests: write - jobs: lint_and_test: name: lint and test @@ -19,6 +15,7 @@ jobs: override: true components: clippy, rustfmt - uses: actions-rs/clippy-check@v1 + if: ${{ github.actor != 'dependabot[bot]' }} with: token: ${{ secrets.GITHUB_TOKEN }} args: --all-features -- -D warnings