Stop uploading code coverage from non-pull request CI runs

This commit is contained in:
Chris Thrasher 2024-10-07 21:37:35 -06:00 committed by Lukas Dürrenberger
parent d9f3634750
commit 46a1b568a9

View File

@ -259,7 +259,7 @@ jobs:
name: Finalize Coverage Upload name: Finalize Coverage Upload
needs: build needs: build
runs-on: ubuntu-22.04 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: steps:
- name: Coveralls Finished - name: Coveralls Finished