File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
pull_request_target :
6
6
types : [opened, synchronize]
7
- merge_group :
8
- types : [checks_requested]
9
7
10
8
jobs :
11
9
check-run :
Original file line number Diff line number Diff line change @@ -90,25 +90,27 @@ jobs:
90
90
contents : read
91
91
issues : write
92
92
pull-requests : write
93
- if : success() && (github.event_name == 'push' || github.event_name == 'pull_request')
93
+ if : success()
94
94
95
95
steps :
96
96
- name : Download test artifacts
97
97
uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
98
+ if : github.event_name == 'push' || github.event_name == 'pull_request'
98
99
with :
99
100
name : test-reports
100
101
101
102
- name : Upload to codecov.io
102
103
id : upload-to-codecov
103
104
uses : codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
105
+ if : github.event_name == 'push' || github.event_name == 'pull_request'
104
106
continue-on-error : true
105
107
with :
106
108
os : linux
107
109
files : kover/reportStandardDebug.xml
108
110
fail_ci_if_error : true
109
111
110
112
- name : Comment PR if tests failed
111
- if : steps.upload-to-codecov.outcome == 'failure'
113
+ if : steps.upload-to-codecov.outcome == 'failure' && (github.event_name == 'push' || github.event_name == 'pull_request')
112
114
env :
113
115
PR_NUMBER : ${{ github.event.number }}
114
116
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments