mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Stop uploading code coverage from non-pull request CI runs
This commit is contained in:
parent
d9f3634750
commit
46a1b568a9
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user