Skip to content

Commit aa25c96

Browse files
Skip Codecov upload step on forks (#731)
1 parent 442d848 commit aa25c96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ jobs:
9494
9595
- name: Upload coverage reports to Codecov
9696
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
97-
if: ${{ (github.event_name == 'push' || github.event_name == 'pull_request') }}
97+
if: >-
98+
github.repository == 'python/typing_extensions'
99+
&& (github.event_name == 'push' || github.event_name == 'pull_request')
98100
with:
99101
token: ${{ secrets.CODECOV_ORG_TOKEN }}
100102
flags: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)