We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 387269b commit 49d9db4Copy full SHA for 49d9db4
.github/workflows/test.yaml
@@ -63,7 +63,13 @@ jobs:
63
task test-integration
64
65
- name: Send unit tests coverage to Codecov
66
- if: matrix.operating-system != 'windows-2019'
+ # Since secrets aren't available on forks, we only
67
+ # upload coverage on `push`. This might change if
68
+ # Codecov whitelists GitHub, lifting the need
69
+ # for a token.
70
+ if: >
71
+ matrix.operating-system != 'windows-2019' &&
72
+ github.event_name == 'push'
73
uses: codecov/codecov-action@v1.0.2
74
with:
75
token: ${{secrets.CODECOV_TOKEN}}
0 commit comments