Skip to content

Commit

Permalink
disable codecov in forked PR
Browse files Browse the repository at this point in the history
  • Loading branch information
lan496 committed Jan 27, 2025
1 parent 006499c commit f817918
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ jobs:
- name: Test
run: cargo llvm-cov --release --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: github.event.repository.fork == false
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true
fail_ci_if_error: false
pass:
name: ✅ Pass ci-rust
needs: [test]
Expand Down

0 comments on commit f817918

Please sign in to comment.