Skip to content

Commit

Permalink
Specify sha and PR number in codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandyken committed Jul 13, 2024
1 parent 43d51b7 commit 08ca104
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/upload_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_sha }}
- name: download coverage reports
uses: actions/download-artifact@v4
with:
Expand All @@ -24,5 +26,7 @@ jobs:
with:
verbose: true
fail_ci_if_error: true
override_commit: ${{ github.event.workflow_run.head_sha }}
override_pr: ${{ github.event.workflow_run.pull_requests.number }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 08ca104

Please sign in to comment.