diff options
-rw-r--r-- | .github/workflows/coverage.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index fef57635..b8415a34 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -45,6 +45,7 @@ jobs: - name: Enable Rust cache uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0 + if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} # If it is a PR, only if not a fork - name: Install cargo-llvm-cov run: | |