Skip to content

Commit b605c05

Browse files
committed
upload to code coverage only on push event
1 parent bdfb3a7 commit b605c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +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'
42+
if: ${{ github.event_name == 'push' }}
4343
uses: codecov/codecov-action@v4.0.1
4444
with:
4545
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)