Skip to content

Commit cd6ec44

Browse files
committed
ci: update checkout
1 parent ac1f821 commit cd6ec44

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/verify-build.yml

+18
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17+
with:
18+
ref: ${{ github.event.pull_request.head.ref }}
19+
repository: ${{ github.event.pull_request.head.repo.full_name }}
1720

1821
- uses: pnpm/action-setup@v4
1922
name: Install pnpm
@@ -31,6 +34,9 @@ jobs:
3134
steps:
3235
- name: Checkout
3336
uses: actions/checkout@v4
37+
with:
38+
ref: ${{ github.event.pull_request.head.ref }}
39+
repository: ${{ github.event.pull_request.head.repo.full_name }}
3440

3541
- uses: pnpm/action-setup@v4
3642
name: Install pnpm
@@ -48,6 +54,9 @@ jobs:
4854
steps:
4955
- name: Checkout
5056
uses: actions/checkout@v4
57+
with:
58+
ref: ${{ github.event.pull_request.head.ref }}
59+
repository: ${{ github.event.pull_request.head.repo.full_name }}
5160

5261
- uses: pnpm/action-setup@v4
5362
name: Install pnpm
@@ -70,6 +79,9 @@ jobs:
7079
steps:
7180
- name: Checkout
7281
uses: actions/checkout@v4
82+
with:
83+
ref: ${{ github.event.pull_request.head.ref }}
84+
repository: ${{ github.event.pull_request.head.repo.full_name }}
7385

7486
- uses: pnpm/action-setup@v4
7587
name: Install pnpm
@@ -87,6 +99,9 @@ jobs:
8799
steps:
88100
- name: Checkout
89101
uses: actions/checkout@v4
102+
with:
103+
ref: ${{ github.event.pull_request.head.ref }}
104+
repository: ${{ github.event.pull_request.head.repo.full_name }}
90105

91106
- uses: pnpm/action-setup@v4
92107
name: Install pnpm
@@ -104,6 +119,9 @@ jobs:
104119
steps:
105120
- name: Checkout
106121
uses: actions/checkout@v4
122+
with:
123+
ref: ${{ github.event.pull_request.head.ref }}
124+
repository: ${{ github.event.pull_request.head.repo.full_name }}
107125

108126
- uses: pnpm/action-setup@v4
109127
name: Install pnpm

0 commit comments

Comments
 (0)