@@ -4,14 +4,18 @@ permissions:
44 contents : read
55
66on :
7+ workflow_dispatch :
78 pull_request_target :
89 types : [opened, synchronize, reopened]
910
1011jobs :
1112 build :
1213 runs-on : ubuntu-latest
1314 steps :
14- - uses : actions/checkout@v4
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+ with :
18+ ref : refs/pull/${{ github.event.pull_request.number }}/merge
1519
1620 - uses : pnpm/action-setup@v4
1721 name : Install pnpm
2731 lint :
2832 runs-on : ubuntu-latest
2933 steps :
30- - uses : actions/checkout@v4
34+ - name : Checkout
35+ uses : actions/checkout@v4
36+ with :
37+ ref : refs/pull/${{ github.event.pull_request.number }}/merge
3138
3239 - uses : pnpm/action-setup@v4
3340 name : Install pnpm
4350 test-chrome :
4451 runs-on : ubuntu-latest
4552 steps :
46- - uses : actions/checkout@v4
53+ - name : Checkout
54+ uses : actions/checkout@v4
55+ with :
56+ ref : refs/pull/${{ github.event.pull_request.number }}/merge
4757
4858 - uses : pnpm/action-setup@v4
4959 name : Install pnpm
6474 test-firefox :
6575 runs-on : ubuntu-latest
6676 steps :
67- - uses : actions/checkout@v4
77+ - name : Checkout
78+ uses : actions/checkout@v4
79+ with :
80+ ref : refs/pull/${{ github.event.pull_request.number }}/merge
6881
6982 - uses : pnpm/action-setup@v4
7083 name : Install pnpm
8093 test-safari :
8194 runs-on : macos-14
8295 steps :
83- - uses : actions/checkout@v4
96+ - name : Checkout
97+ uses : actions/checkout@v4
98+ with :
99+ ref : refs/pull/${{ github.event.pull_request.number }}/merge
84100
85101 - uses : pnpm/action-setup@v4
86102 name : Install pnpm
@@ -96,7 +112,10 @@ jobs:
96112 prettier :
97113 runs-on : ubuntu-latest
98114 steps :
99- - uses : actions/checkout@v4
115+ - name : Checkout
116+ uses : actions/checkout@v4
117+ with :
118+ ref : refs/pull/${{ github.event.pull_request.number }}/merge
100119
101120 - uses : pnpm/action-setup@v4
102121 name : Install pnpm
0 commit comments