We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a93b4b8 commit 5e1627dCopy full SHA for 5e1627d
.github/workflows/test.yaml
@@ -71,7 +71,13 @@ jobs:
71
flags: unit
72
73
- name: Send integration tests coverage to Codecov
74
- if: matrix.operating-system != 'windows-2019'
+ # Since secrets aren't available on forks, we only
75
+ # upload coverage on `push`. This might change if
76
+ # Codecov whitelists GitHub, lifting the need
77
+ # for a token.
78
+ if: >
79
+ matrix.operating-system != 'windows-2019' &&
80
+ github.event_name == 'push'
81
uses: codecov/codecov-action@v1.0.2
82
with:
83
token: ${{secrets.CODECOV_TOKEN}}
0 commit comments