Skip to content

Commit 27cfa37

Browse files
authored
Merge branch 'main' into alwx/feature/wrap-expo-router-methods
2 parents 7dabf7e + 41d6254 commit 27cfa37

13 files changed

Lines changed: 54 additions & 54 deletions

.github/workflows/buildandtest.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,24 +144,24 @@ jobs:
144144
- name: Build
145145
run: yarn build
146146
- name: Archive dist
147-
uses: actions/upload-artifact@v7
147+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
148148
with:
149149
name: dist
150150
path: packages/core/dist
151151
- name: Archive ts3.8
152-
uses: actions/upload-artifact@v7
152+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
153153
with:
154154
name: ts3.8
155155
path: packages/core/ts3.8
156156
- name: Archive Expo Plugin
157-
uses: actions/upload-artifact@v7
157+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
158158
with:
159159
name: expo-plugin
160160
path: packages/core/plugin/build
161161
- name: Pack
162162
run: yarn build:tarball
163163
- name: Archive Artifacts
164-
uses: actions/upload-artifact@v7
164+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
165165
with:
166166
name: ${{ github.sha }}
167167
path: |
@@ -179,7 +179,7 @@ jobs:
179179
with:
180180
node-version: 18
181181
- name: Download tarball artifacts
182-
uses: actions/download-artifact@v8
182+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
183183
with:
184184
name: ${{ github.sha }}
185185
path: artifacts
@@ -268,12 +268,12 @@ jobs:
268268
- name: Install Dependencies
269269
run: yarn install
270270
- name: Download dist
271-
uses: actions/download-artifact@v8
271+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
272272
with:
273273
name: dist
274274
path: packages/core/dist
275275
- name: Download ts3.8
276-
uses: actions/download-artifact@v8
276+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
277277
with:
278278
name: ts3.8
279279
path: packages/core/ts3.8
@@ -299,12 +299,12 @@ jobs:
299299
- name: Install Dependencies
300300
run: yarn install
301301
- name: Download dist
302-
uses: actions/download-artifact@v8
302+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
303303
with:
304304
name: dist
305305
path: packages/core/dist
306306
- name: Download Expo Plugin
307-
uses: actions/download-artifact@v8
307+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
308308
with:
309309
name: expo-plugin
310310
path: packages/core/plugin/build
@@ -328,7 +328,7 @@ jobs:
328328
- name: Install Dependencies
329329
run: yarn install
330330
- name: Download dist
331-
uses: actions/download-artifact@v8
331+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
332332
with:
333333
name: dist
334334
path: packages/core/dist

.github/workflows/cancel-pr-workflows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Cancel in-progress workflow runs
13-
uses: actions/github-script@v9
13+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
1414
with:
1515
script: |
1616
const { owner, repo } = context.repo;

.github/workflows/changes-in-high-risk-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Comment on PR to notify of changes in high risk files
37-
uses: actions/github-script@v9
37+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
3838
env:
3939
high_risk_code: ${{ needs.files-changed.outputs.high_risk_code_files }}
4040
with:

.github/workflows/codegen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
node-version: 18
4444
cache: 'yarn'
4545
cache-dependency-path: yarn.lock
46-
- uses: actions/setup-java@v5
46+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
4747
with:
4848
java-version: '17'
4949
distribution: "adopt"

.github/workflows/detect-changes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
needs_sample_expo: ${{ steps.evaluate.outputs.needs_sample_expo }}
8080
needs_web: ${{ steps.evaluate.outputs.needs_web }}
8181
steps:
82-
- uses: actions/checkout@v6
82+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
8383

8484
- name: Detect changed paths
8585
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1

.github/workflows/e2e-v2.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.platform == 'android' }}
104104
run: sudo apt-get update && sudo apt-get install -y ninja-build
105105

106-
- uses: actions/setup-java@v5
106+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
107107
if: ${{ steps.platform-check.outputs.skip != 'true' }}
108108
with:
109109
java-version: '17'
@@ -113,7 +113,7 @@ jobs:
113113
if: ${{ steps.platform-check.outputs.skip != 'true' }}
114114
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6
115115

116-
- uses: ruby/setup-ruby@v1
116+
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
117117
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.platform == 'ios' }}
118118
with:
119119
ruby-version: '3.3.0'
@@ -130,7 +130,7 @@ jobs:
130130
if: ${{ steps.platform-check.outputs.skip != 'true' }}
131131
run: yarn build
132132

133-
- uses: actions/cache@v5
133+
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
134134
if: ${{ steps.platform-check.outputs.skip != 'true' }}
135135
id: app-plain-cache
136136
with:
@@ -325,7 +325,7 @@ jobs:
325325
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.platform == 'android' }}
326326
run: sudo apt-get update && sudo apt-get install -y ninja-build
327327

328-
- uses: actions/setup-java@v5
328+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
329329
if: ${{ steps.platform-check.outputs.skip != 'true' }}
330330
with:
331331
java-version: '17'
@@ -348,7 +348,7 @@ jobs:
348348
if: ${{ steps.platform-check.outputs.skip != 'true' }}
349349
run: yarn install
350350

351-
- uses: ruby/setup-ruby@v1
351+
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
352352
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.platform == 'ios' }}
353353
with:
354354
ruby-version: '3.3.0'
@@ -363,15 +363,15 @@ jobs:
363363

364364
- name: Upload App
365365
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.build-type == 'production' }}
366-
uses: actions/upload-artifact@v7
366+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
367367
with:
368368
name: ${{ matrix.rn-version }}-${{ matrix.rn-architecture }}-${{ matrix.engine }}-${{ matrix.platform }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks }}-app-package
369369
path: dev-packages/e2e-tests/RnDiffApp.ap*
370370
retention-days: 1
371371

372372
- name: Upload logs
373373
if: ${{ always() && steps.platform-check.outputs.skip != 'true' }}
374-
uses: actions/upload-artifact@v7
374+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
375375
with:
376376
name: rn-build-logs-${{ matrix.rn-version }}-${{ matrix.rn-architecture }}-${{ matrix.engine }}-${{ matrix.platform }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks }}
377377
path: dev-packages/e2e-tests/react-native-versions/${{ matrix.rn-version }}/RnDiffApp/ios/*.log
@@ -436,7 +436,7 @@ jobs:
436436

437437
- name: Download App Package
438438
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.build-type == 'production' }}
439-
uses: actions/download-artifact@v8
439+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
440440
with:
441441
name: ${{ matrix.rn-version }}-${{ matrix.rn-architecture }}-${{ matrix.engine }}-${{ matrix.platform }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks }}-app-package
442442
path: dev-packages/e2e-tests
@@ -457,7 +457,7 @@ jobs:
457457
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.platform == 'android' }}
458458
run: sudo apt-get update && sudo apt-get install -y ninja-build
459459

460-
- uses: actions/setup-java@v5
460+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
461461
if: ${{ steps.platform-check.outputs.skip != 'true' }}
462462
with:
463463
java-version: '17'
@@ -536,7 +536,7 @@ jobs:
536536

537537
- name: Upload logs
538538
if: ${{ always() && steps.platform-check.outputs.skip != 'true' }}
539-
uses: actions/upload-artifact@v7
539+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
540540
with:
541541
name: ${{ matrix.rn-version }}-${{ matrix.rn-architecture }}-${{ matrix.engine }}-${{ matrix.platform }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks }}-logs
542542
path: |

.github/workflows/native-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install SDK JS Dependencies
5252
run: yarn install
5353

54-
- uses: ruby/setup-ruby@v1
54+
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
5555
with:
5656
ruby-version: '3.3.0'
5757
env:
@@ -112,7 +112,7 @@ jobs:
112112

113113
- uses: ./.github/actions/disk-cleanup
114114

115-
- uses: actions/setup-java@v5
115+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
116116
with:
117117
java-version: '17'
118118
distribution: 'adopt'

.github/workflows/release-comment-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
&& !contains(steps.get_version.outputs.version, '-beta.')
3333
&& !contains(steps.get_version.outputs.version, '-alpha.')
3434
&& !contains(steps.get_version.outputs.version, '-rc.')
35-
uses: getsentry/release-comment-issues-gh-action@v1
35+
uses: getsentry/release-comment-issues-gh-action@52e08022ca721e701515ede89edd224b63b180eb # v1
3636
with:
3737
github_token: ${{ secrets.GITHUB_TOKEN }}
3838
version: ${{ steps.get_version.outputs.version }}

.github/workflows/sample-application-expo.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
cache: 'yarn'
6565
cache-dependency-path: yarn.lock
6666

67-
- uses: ruby/setup-ruby@v1
67+
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
6868
with:
6969
working-directory: samples/expo
7070
ruby-version: '3.3.0' # based on what is used in the sample
@@ -127,7 +127,7 @@ jobs:
127127
128128
- name: Upload logs
129129
if: ${{ always() }}
130-
uses: actions/upload-artifact@v7
130+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
131131
with:
132132
name: build-sample-expo-ios-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks}}-logs
133133
path: samples/expo/ios/*.log
@@ -161,7 +161,7 @@ jobs:
161161
cache: 'yarn'
162162
cache-dependency-path: yarn.lock
163163

164-
- uses: actions/setup-java@v5
164+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
165165
with:
166166
java-version: '17'
167167
distribution: 'adopt'
@@ -196,7 +196,7 @@ jobs:
196196
197197
- name: Upload logs
198198
if: ${{ always() }}
199-
uses: actions/upload-artifact@v7
199+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
200200
with:
201201
name: build-sample-expo-android-${{ matrix.build-type }}-logs
202202
path: samples/expo/android/*.log

.github/workflows/sample-application.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
cache: 'yarn'
7474
cache-dependency-path: yarn.lock
7575

76-
- uses: ruby/setup-ruby@v1
76+
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
7777
with:
7878
working-directory: ${{ env.REACT_NATIVE_SAMPLE_PATH }}
7979
ruby-version: '3.3.0' # based on what is used in the sample
@@ -121,15 +121,15 @@ jobs:
121121
122122
- name: Upload iOS APP
123123
if: ${{ matrix.rn-architecture == 'new' && matrix.build-type == 'production' && matrix.ios-use-frameworks == 'no-frameworks' }}
124-
uses: actions/upload-artifact@v7
124+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
125125
with:
126126
name: sample-rn-${{ matrix.rn-architecture }}-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks}}-ios
127127
path: ${{ env.IOS_APP_ARCHIVE_PATH }}
128128
retention-days: 1
129129

130130
- name: Upload logs
131131
if: ${{ always() }}
132-
uses: actions/upload-artifact@v7
132+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
133133
with:
134134
name: build-sample-${{ matrix.rn-architecture }}-ios-${{ matrix.build-type }}-${{ matrix.ios-use-frameworks}}-logs
135135
path: ${{ env.REACT_NATIVE_SAMPLE_PATH }}/ios/*.log
@@ -164,7 +164,7 @@ jobs:
164164
cache: 'yarn'
165165
cache-dependency-path: yarn.lock
166166

167-
- uses: actions/setup-java@v5
167+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
168168
with:
169169
java-version: '17'
170170
distribution: 'adopt'
@@ -197,15 +197,15 @@ jobs:
197197
198198
- name: Upload Android APK
199199
if: ${{ matrix.rn-architecture == 'new' && matrix.build-type == 'production' }}
200-
uses: actions/upload-artifact@v7
200+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
201201
with:
202202
name: sample-rn-${{ matrix.rn-architecture }}-${{ matrix.build-type }}-android
203203
path: ${{ env.ANDROID_APP_ARCHIVE_PATH }}
204204
retention-days: 1
205205

206206
- name: Upload logs
207207
if: ${{ always() }}
208-
uses: actions/upload-artifact@v7
208+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
209209
with:
210210
name: build-sample-${{ matrix.rn-architecture }}-android-${{ matrix.build-type }}-no-frameworks-logs
211211
path: ${{ env.REACT_NATIVE_SAMPLE_PATH }}/android/*.log
@@ -239,7 +239,7 @@ jobs:
239239
cache: 'yarn'
240240
cache-dependency-path: yarn.lock
241241

242-
- uses: ruby/setup-ruby@v1
242+
- uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
243243
with:
244244
working-directory: samples/react-native-macos
245245
ruby-version: '3.3.0' # based on what is used in the sample
@@ -283,7 +283,7 @@ jobs:
283283
284284
- name: Upload logs
285285
if: ${{ always() }}
286-
uses: actions/upload-artifact@v7
286+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
287287
with:
288288
name: build-sample-legacy-macos-${{ matrix.build-type }}-no-frameworks-logs
289289
path: samples/react-native-macos/macos/*.log
@@ -307,7 +307,7 @@ jobs:
307307
version: ${{env.MAESTRO_VERSION}}
308308

309309
- name: Download iOS App Archive
310-
uses: actions/download-artifact@v8
310+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
311311
with:
312312
name: sample-rn-new-production-no-frameworks-ios
313313
path: ${{ env.REACT_NATIVE_SAMPLE_PATH }}
@@ -387,7 +387,7 @@ jobs:
387387
version: ${{env.MAESTRO_VERSION}}
388388

389389
- name: Download Android APK
390-
uses: actions/download-artifact@v8
390+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
391391
with:
392392
name: sample-rn-new-production-android
393393
path: ${{ env.REACT_NATIVE_SAMPLE_PATH }}

0 commit comments

Comments
 (0)