From 46a1b568a981d7854f498b417a2ab6a0e3f1ae3e Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 7 Oct 2024 21:37:35 -0600 Subject: [PATCH] Stop uploading code coverage from non-pull request CI runs --- .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 54491bee7..cc9cb6058 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -259,7 +259,7 @@ jobs: name: Finalize Coverage Upload needs: build runs-on: ubuntu-22.04 - if: github.repository == 'SFML/SFML' # Disable upload in forks + if: github.repository == 'SFML/SFML' && github.event_name == 'pull_request' # Only run for PRs to main repository steps: - name: Coveralls Finished