Skip to content

Commit 7950775

Browse files
authored
Update codecov.yml
1 parent beb7b55 commit 7950775

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/codecov.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
chmod +x codecov
4747
- name: Upload to codecov
4848
run: |
49-
echo ${{ github.event.workflow_run.head_branch }}
49+
PR2=`gh pr view ${{ github.event.workflow_run.head_branch }} --json number -q .number`
50+
echo $PR2
5051
export PR=${{ github.event.workflow_run.pull_requests[0].number }}
5152
export SHA=${{ github.event.workflow_run.head_sha }}
5253
export VARARGS="-n github"

0 commit comments

Comments
 (0)