Skip to content

Commit

Permalink
upload to code coverage only on push event
Browse files Browse the repository at this point in the history
  • Loading branch information
carloscarucce committed Jul 1, 2024
1 parent bdfb3a7 commit b605c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: composer run-script test && composer run-script check-coverage

- name: Upload coverage reports to Codecov
if: github.event_name == 'push'
if: ${{ github.event_name == 'push' }}
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit b605c05

Please sign in to comment.