From 2b872fde284884c16768625bc7d211b401d82d99 Mon Sep 17 00:00:00 2001 From: Christian Scheb Date: Sun, 10 Nov 2024 11:44:06 +0100 Subject: [PATCH] Disable code coverage job for PRs --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 49fe739..2a56fa5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -99,8 +99,8 @@ jobs: code-coverage: name: 'Code Coverage - PHP ${{ matrix.php-version }}' runs-on: 'ubuntu-latest' - # We want to run on external PRs, but not on our own internal PRs as they'll be run by the push to the branch. - if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} + # Do not run on PRs, because Codecov upload for PRs is failing + if: ${{ github.event_name != 'pull_request' }} strategy: fail-fast: false