@@ -4,14 +4,18 @@ permissions:
4
4
contents : read
5
5
6
6
on :
7
+ workflow_dispatch :
7
8
pull_request_target :
8
9
types : [opened, synchronize, reopened]
9
10
10
11
jobs :
11
12
build :
12
13
runs-on : ubuntu-latest
13
14
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
15
19
16
20
- uses : pnpm/action-setup@v4
17
21
name : Install pnpm
27
31
lint :
28
32
runs-on : ubuntu-latest
29
33
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
31
38
32
39
- uses : pnpm/action-setup@v4
33
40
name : Install pnpm
43
50
test-chrome :
44
51
runs-on : ubuntu-latest
45
52
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
47
57
48
58
- uses : pnpm/action-setup@v4
49
59
name : Install pnpm
64
74
test-firefox :
65
75
runs-on : ubuntu-latest
66
76
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
68
81
69
82
- uses : pnpm/action-setup@v4
70
83
name : Install pnpm
80
93
test-safari :
81
94
runs-on : macos-14
82
95
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
84
100
85
101
- uses : pnpm/action-setup@v4
86
102
name : Install pnpm
@@ -96,7 +112,10 @@ jobs:
96
112
prettier :
97
113
runs-on : ubuntu-latest
98
114
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
100
119
101
120
- uses : pnpm/action-setup@v4
102
121
name : Install pnpm
0 commit comments