File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -135,15 +135,15 @@ jobs:
135
135
run : composer lint -- --checkstyle | cs2pr
136
136
137
137
- name : Run the unit tests without code coverage
138
- if : ${{ matrix.coverage == false }}
138
+ if : ${{ matrix.coverage == false || github.repository_owner != 'WordPress' }}
139
139
run : composer run-tests
140
140
141
141
- name : Run the unit tests with code coverage
142
- if : ${{ matrix.coverage == true }}
142
+ if : ${{ matrix.coverage == true && github.repository_owner == 'WordPress' }}
143
143
run : composer coverage
144
144
145
145
- name : Send coverage report to Codecov
146
- if : ${{ success() && matrix.coverage == true }}
146
+ if : ${{ success() && matrix.coverage == true && github.repository_owner == 'WordPress' }}
147
147
uses : codecov/codecov-action@v5
148
148
with :
149
149
files : ./build/logs/clover.xml
You can’t perform that action at this time.
0 commit comments