Skip to content

Commit c453c41

Browse files
authored
Fix tests-full failure to checkout PR branch (#253)
1 parent 5c8ac61 commit c453c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests-full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: nvidia-smi
4747
- uses: actions/checkout@v4
4848
with:
49-
ref: ${{ github.event.pull_request.number && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.ref }}
49+
ref: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.pr_ref || (github.event.pull_request.number && format('refs/pull/{0}/merge', github.event.pull_request.number)) || github.ref }}
5050
- uses: astral-sh/setup-uv@v7
5151
with:
5252
enable-cache: true

0 commit comments

Comments
 (0)