fix(ci): skip codecov update on PRs
This change only updates codecov on GitHub "push" events (to the main
branch) so transient PR branch coverage stats aren't stored in codecov.
@@ -104,7 +104,7 @@ jobs:
- name: Test
run: make go-test-coverage
- name: Upload Coverage
- if: ${{ success() }}
+ if: ${{ success() && github.event_name == 'push' }}
run: bash <(curl -s https://codecov.io/bash)
scenarios_tests:
