Skip to content

Commit ffa6710

Browse files
committed
upload to code coverage only on push event
1 parent a5255e8 commit ffa6710

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
run: composer run-script test && composer run-script check-coverage
4040

4141
- name: Upload coverage reports to Codecov
42+
if: github.event_name == 'push'
4243
uses: codecov/codecov-action@v4.0.1
4344
with:
4445
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)