Skip to content

Commit 9833002

Browse files
committed
ci: fix workflow
1 parent 12fc99b commit 9833002

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
steps:
2020
- name: Checkout code
2121
uses: actions/checkout@v4
22+
with:
23+
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }}
2224

2325
- name: Setup Node.js
2426
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)