Only run `cargo clippy` for non-dependabot

This commit is contained in:
Martin Frost 2022-07-18 14:17:12 +02:00
parent f7fd304ca7
commit 3462cd009f
1 changed files with 1 additions and 4 deletions

View File

@ -2,10 +2,6 @@ on: push
name: CI name: CI
permissions:
issues: write
pull-requests: write
jobs: jobs:
lint_and_test: lint_and_test:
name: lint and test name: lint and test
@ -19,6 +15,7 @@ jobs:
override: true override: true
components: clippy, rustfmt components: clippy, rustfmt
- uses: actions-rs/clippy-check@v1 - uses: actions-rs/clippy-check@v1
if: ${{ github.actor != 'dependabot[bot]' }}
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features -- -D warnings args: --all-features -- -D warnings