Only run `cargo clippy` for non-dependabot
This commit is contained in:
parent
f7fd304ca7
commit
3462cd009f
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue