From 51b3fd127bd32fa8c60aa5b7bf5faed5200a9a92 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Wed, 1 May 2024 11:29:59 -0700 Subject: [PATCH] Provide more overrides and details to the codecov action (#3191) --- .github/workflows/ci-pr-coverage.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-pr-coverage.yaml b/.github/workflows/ci-pr-coverage.yaml index 5c30a4c850..f470f8c4ee 100644 --- a/.github/workflows/ci-pr-coverage.yaml +++ b/.github/workflows/ci-pr-coverage.yaml @@ -24,10 +24,12 @@ jobs: - name: Upload coverage report if: '!cancelled()' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: override_commit: ${{ github.event.workflow_run.head_sha }} override_pr: ${{ github.event.workflow_run.pull_requests[0].number }} + override_build: ${{ github.event.workflow_run.id }} + override_build_url: ${{ github.event.workflow_run.workflow_url }} token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true verbose: true