File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 60
60
xcresultparser -q -o cobertura -t ElementX -p $(pwd) fastlane/test_output/PreviewTests.xcresult > fastlane/test_output/preview-cobertura.xml
61
61
62
62
- name : Upload coverage to Codecov
63
+ if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} # Skip in forks
63
64
uses : codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
64
65
with :
65
66
fail_ci_if_error : true
73
74
xcresultparser -q -o junit -p $(pwd) fastlane/test_output/PreviewTests.xcresult > fastlane/test_output/preview-junit.xml
74
75
75
76
- name : Upload test results to Codecov
76
- if : ${{ !cancelled() }}
77
+ if : ${{ !cancelled() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
77
78
uses : codecov/test-results-action@f2dba722c67b86c6caa034178c6e4d35335f6706 # v1.1.0
78
79
continue-on-error : true
79
80
with :
Original file line number Diff line number Diff line change 14
14
runs-on : macos-15
15
15
16
16
# Skip in forks
17
- if : github.repository == 'element-hq/element-x-ios'
17
+ if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
18
18
19
19
concurrency :
20
20
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.
You can’t perform that action at this time.
0 commit comments