Skip to content

Commit

Permalink
[chore] Fix codecov action usage (#6333)
Browse files Browse the repository at this point in the history
Same as open-telemetry/opentelemetry-go#5979.

This change makes sure that an unsuccessful upload will fail the
workflow as this does not happen at the moment.

Additionally, it configures the codecov action to be tokenless.
  • Loading branch information
pellared authored Nov 15, 2024
1 parent c18691f commit c8357cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ jobs:
cp coverage.html $TEST_RESULTS
- name: Upload coverage report
uses: codecov/codecov-action@v5.0.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
files: ./coverage.txt
verbose: true
- name: Store coverage test output
Expand Down

0 comments on commit c8357cb

Please sign in to comment.