Skip to content

Commit 94ec7ee

Browse files
committed
Reduce Codecov failure rate by using a token
Try to use Codecov token to avoid the recurring Codecov 404 errors. Codecov suggests the use of tokens even for public repositories when such failures occur: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954.
1 parent caf5b94 commit 94ec7ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,7 @@ jobs:
885885
- name: Upload coverage statistics to Codecov
886886
uses: codecov/codecov-action@v3
887887
with:
888+
token: ${{ secrets.CODECOV_TOKEN }}
888889
files: build/html/coverage.info
889890
fail_ci_if_error: true
890891
verbose: true

0 commit comments

Comments
 (0)