Skip to content

Commit ddc2c4b

Browse files
committed
Upload without token if created from a fork
1 parent 73f2d5a commit ddc2c4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
if: ${{ matrix.python-version == '3.11' }}
3636
uses: codecov/codecov-action@v4
3737
with:
38-
fail_ci_if_error: true
39-
token: ${{ secrets.CODECOV_TOKEN }}
38+
fail_ci_if_error: false
39+
token: ${{ secrets.CODECOV_TOKEN || '' }}
4040
- name: Run static analyses
4141
if: ${{ matrix.python-version == '3.11' }}
4242
run: |
@@ -72,8 +72,8 @@ jobs:
7272
if: ${{ matrix.python-version == '3.11' }}
7373
uses: codecov/codecov-action@v4
7474
with:
75-
fail_ci_if_error: true
76-
token: ${{ secrets.CODECOV_TOKEN }}
75+
fail_ci_if_error: false
76+
token: ${{ secrets.CODECOV_TOKEN || '' }}
7777

7878
- name: Dump docker logs
7979
if: failure()

0 commit comments

Comments
 (0)