From e09b38153c6d41beccbc13a818d047c8d8d1ca0c Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 19 May 2024 14:32:26 +1000 Subject: [PATCH] Attempt #2 at preventing codacy coverage step from running on forks --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23599bbaf..74033166a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -188,7 +188,7 @@ jobs: upload-coverage: # List all jobs that produce coverage files needs: [unit-tests, integration-tests] - if: github.event.repository.fork == false + if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest steps: - name: Checkout code