Skip to content

Commit

Permalink
Add codecov token (#1278)
Browse files Browse the repository at this point in the history
Codecov sporadically fails to upload, the existing workaround is to
hardcode our token. It has to be in free-form to make it available to
PRs from forks, but according to codecov the risk is low.

Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro authored Mar 15, 2023
1 parent 5a1a737 commit 974530c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ jobs:
with:
fail_ci_if_error: true
verbose: true
# Using upload token helps against rate limiting errors.
# Cannot define it as secret as we need it accessible from forks.
# See https://github.com/codecov/codecov-action/issues/837
token: 31c3122b-7b49-4267-a117-8c9354a97119

0 comments on commit 974530c

Please sign in to comment.