Skip to content

Commit

Permalink
Update codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Dec 12, 2024
1 parent 59484bc commit ab6d33e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ jobs:
chmod +x codecov
- name: Upload to codecov
run: |
export PR=$("$GITHUB_REF" | awk -F / '{print $3}')
export PR=${{ github.event.workflow_run.pull_requests[0].number }}
echo ${{ github.event.workflow_run.triggering_actor.url }}
PR2=`gh pr view ${{ github.event.workflow_run.head_branch }} --json number -q .number`
echo $PR
echo $PR2
if [ -n "${PR}" ]; then export PR="-P ${PR}"; fi
echo here
echo $PR
Expand Down

0 comments on commit ab6d33e

Please sign in to comment.