Skip to content

Commit

Permalink
Improve Dependabot exclusion condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Feb 5, 2024
1 parent 5f0333d commit 68e346d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
toolchain: ${{ steps.minimal-version.outputs.msrv }}

- name: Activate cache
if: github.actor != 'dependabot[bot]'
if: "!startsWith(github.head_ref, 'dependabot/')"
uses: Swatinem/rust-cache@v2

- name: Build crate
Expand All @@ -78,7 +78,7 @@ jobs:
components: llvm-tools

- name: Activate cache
if: github.actor != 'dependabot[bot]'
if: "!startsWith(github.head_ref, 'dependabot/')"
uses: Swatinem/rust-cache@v2

- name: Install cargo-llvm-cov
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
components: clippy, rustfmt

- name: Activate cache
if: github.actor != 'dependabot[bot]'
if: "!startsWith(github.head_ref, 'dependabot/')"
uses: Swatinem/rust-cache@v2

- name: Check code
Expand Down

0 comments on commit 68e346d

Please sign in to comment.