Skip to content

Commit 28c0623

Browse files
committed
fix PR builds
1 parent 33a0149 commit 28c0623

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
7+
pull_request_target:
88
branches:
99
- main
1010
- next
@@ -32,6 +32,8 @@ jobs:
3232
steps:
3333
- name: Checkout repository
3434
uses: actions/checkout@v4
35+
with:
36+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
3537

3638
- name: Set up Node.js
3739
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)