Skip to content

Commit fed6e05

Browse files
committed
Try using array accessors and repository
1 parent 3a6db53 commit fed6e05

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/code-coverage-upload.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- name: 'Checkout Repository'
1414
uses: actions/checkout@v4
1515
with:
16+
repository: ${{ github.event.workflow_run.head_repository.full_name }}
1617
ref: ${{ github.event.workflow_run.head_sha }}
1718
- name: Download benchmark results
1819
uses: dawidd6/action-download-artifact@v6
@@ -29,7 +30,7 @@ jobs:
2930
- name: Upload coverage reports to Codecov
3031
uses: codecov/codecov-action@v4
3132
with:
32-
override_branch: ${{ github.event.workflow_run.pull_requests.head.ref }}
33-
override_commit: ${{ github.event.workflow_run.pull_requests.head.sha }}
34-
override_pr: ${{ github.event.workflow_run.pull_requests.number }}
33+
override_branch: ${{ github.event.workflow_run.pull_requests[0].head.ref }}
34+
override_commit: ${{ github.event.workflow_run.pull_requests[0].head.sha }}
35+
override_pr: ${{ github.event.workflow_run.pull_requests[0].number }}
3536
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)