File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed
Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616
1717 steps :
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v5
1919 with :
2020 fetch-depth : 0
2121
Original file line number Diff line number Diff line change 11name : Create EAS Preview
22
33on :
4- pull_request :
4+ pull_request_target :
55
66permissions :
77 contents : read
88 pull-requests : write
99
1010jobs :
1111 preview :
12+ if : contains(github.event.pull_request.labels.*.name, 'run-preview')
1213 runs-on : ubuntu-latest
1314 steps :
1415 - name : Checkout repository
15- uses : actions/checkout@v4
16+ uses : actions/checkout@v5
17+ with :
18+ ref : ${{ github.event.pull_request.head.sha }}
1619
1720 - name : Setup Node.js
1821 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : 🏗 Setup repo
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v5
1919
2020 - name : 🏗 Setup Node
2121 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616
1717 steps :
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v5
1919 with :
2020 fetch-depth : 0
2121
Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v5
1515 with :
1616 fetch-depth : 0 # Full history for better diff analysis
1717
You can’t perform that action at this time.
0 commit comments