Skip to content

Commit 4ad09bc

Browse files
authored
Don't try to upload coverage if CI is run via workflow dispatch on a fork (python-attrs#385)
1 parent 18dff36 commit 4ad09bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242

4343
- name: "Upload coverage to Codecov"
4444
# if: "contains(env.USING_COVERAGE, matrix.python-version)"
45+
if: github.repository == 'python-attrs/cattrs'
4546
uses: "codecov/codecov-action@v1"
4647
with:
4748
fail_ci_if_error: true

0 commit comments

Comments
 (0)