Skip to content

Commit

Permalink
Add token for codecov to fix coverage upload (#7793)
Browse files Browse the repository at this point in the history
Without the token, the new v4 action fails when uploading coverage from
the jobs in main. The PR actions don't need it and, in fact, github
should not pass the token to PRs coming from a fork.
  • Loading branch information
g-gaston authored Mar 6, 2024
1 parent b8078dd commit 8465c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
paths-ignore:
- 'release/**'


jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -26,3 +25,4 @@ jobs:
uses: codecov/[email protected]
with:
files: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 8465c38

Please sign in to comment.