Skip to content

Commit 7a15b00

Browse files
Merge remote-tracking branch 'origin/main' into v7
2 parents 51f9b96 + b3e6131 commit 7a15b00

30 files changed

+1152
-559
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,14 @@ body:
5151
label: 'How does your development environment look like?'
5252
description:
5353
'Output of the command `npx react-native@latest info` or manully describe your development environment?'
54-
placeholder: |-
55-
info Fetching system and libraries information...
56-
OS: OS version
57-
Node: Your version
58-
Yarn: Yarn version
59-
Expo SDK: Expo SDK version
60-
react: React version
61-
react-native: React Native version
62-
hermesEnabled: bool
63-
newArchEnabled: bool
54+
value: |-
55+
````
56+
⬇ Place the `npx react-native@latest info` output here. ⬇
57+
58+
59+
60+
61+
````
6462
6563
- type: textarea
6664
id: init
@@ -69,11 +67,13 @@ body:
6967
attributes:
7068
label: 'Sentry.init()'
7169
description: 'Code snipped of Sentry initialization from your application.'
72-
placeholder: |-
70+
value: |-
71+
````js
7372
Sentry.init({
7473
dsn: 'https://[email protected]/...'
7574
// other options
7675
});
76+
````
7777
7878
- type: textarea
7979
id: repro

.github/workflows/buildandtest.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
2424
steps:
2525
- uses: actions/checkout@v4
26-
- run: corepack enable
26+
- run: npm i -g corepack
2727
- uses: actions/setup-node@v4
2828
with:
2929
node-version: 18
@@ -41,7 +41,7 @@ jobs:
4141
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
4242
steps:
4343
- uses: actions/checkout@v4
44-
- run: corepack enable
44+
- run: npm i -g corepack
4545
- uses: actions/setup-node@v4
4646
with:
4747
node-version: 18
@@ -59,7 +59,7 @@ jobs:
5959
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
6060
steps:
6161
- uses: actions/checkout@v4
62-
- run: corepack enable
62+
- run: npm i -g corepack
6363
- uses: actions/setup-node@v4
6464
with:
6565
node-version: 18
@@ -82,7 +82,7 @@ jobs:
8282
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
8383
steps:
8484
- uses: actions/checkout@v4
85-
- run: corepack enable
85+
- run: npm i -g corepack
8686
- uses: actions/setup-node@v4
8787
with:
8888
node-version: 18
@@ -125,7 +125,7 @@ jobs:
125125
YARN_ENABLE_IMMUTABLE_INSTALLS: false
126126
steps:
127127
- uses: actions/checkout@v4
128-
- run: corepack enable
128+
- run: npm i -g corepack
129129
- uses: actions/setup-node@v4
130130
with:
131131
node-version: 18
@@ -155,7 +155,7 @@ jobs:
155155
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
156156
steps:
157157
- uses: actions/checkout@v4
158-
- run: corepack enable
158+
- run: npm i -g corepack
159159
- uses: actions/setup-node@v4
160160
with:
161161
node-version: 18
@@ -189,7 +189,7 @@ jobs:
189189
dev: [true, false]
190190
steps:
191191
- uses: actions/checkout@v4
192-
- run: corepack enable
192+
- run: npm i -g corepack
193193
- uses: actions/setup-node@v4
194194
with:
195195
node-version: 18

.github/workflows/codegen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
--targetPlatform ios
3838
steps:
3939
- uses: actions/checkout@v4
40-
- run: corepack enable
40+
- run: npm i -g corepack
4141
- uses: actions/setup-node@v4
4242
with:
4343
node-version: 18

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@5f8171a638ada777af81d42b55959a643bb29017 # [email protected].12
47+
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # [email protected].15
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
- name: Autobuild
58-
uses: github/codeql-action/autobuild@5f8171a638ada777af81d42b55959a643bb29017 # [email protected].12
58+
uses: github/codeql-action/autobuild@45775bd8235c68ba998cffa5171334d58593da47 # [email protected].15
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
@@ -66,4 +66,4 @@ jobs:
6666
# make bootstrap
6767
# make release
6868
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@5f8171a638ada777af81d42b55959a643bb29017 # [email protected].12
69+
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # [email protected].15

.github/workflows/e2e.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- run: sudo xcode-select -s /Applications/Xcode_14.2.app/Contents/Developer
5757
if: ${{ matrix.platform == 'ios' }}
5858

59-
- run: corepack enable
59+
- run: npm i -g corepack
6060
- uses: actions/setup-node@v4
6161
with:
6262
node-version: 18
@@ -151,8 +151,8 @@ jobs:
151151
react-native-build:
152152
name: Build RN ${{ matrix.rn-version }} ${{ matrix.rn-architecture }} ${{ matrix.engine }} ${{ matrix.platform }} ${{ matrix.build-type }} ${{ matrix.ios-use-frameworks }}
153153
runs-on: ${{ matrix.runs-on }}
154-
needs: [diff_check]
155-
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
154+
needs: [diff_check, auth_token_check]
155+
if: ${{ needs.diff_check.outputs.skip_ci != 'true' && needs.auth_token_check.outputs.skip_ci != 'true' && !startsWith(github.ref, 'refs/heads/release/') }}
156156
env:
157157
RN_VERSION: ${{ matrix.rn-version }}
158158
RN_ENGINE: ${{ matrix.engine }}
@@ -227,7 +227,7 @@ jobs:
227227
- run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode-version }}.app/Contents/Developer
228228
if: ${{ matrix.platform == 'ios' }}
229229

230-
- run: corepack enable
230+
- run: npm i -g corepack
231231
- uses: actions/setup-node@v4
232232
with:
233233
node-version: 18
@@ -353,9 +353,7 @@ jobs:
353353
path: dev-packages/e2e-tests
354354

355355
- name: Enable Corepack
356-
run: |
357-
npm install -g [email protected]
358-
corepack enable
356+
run: npm i -g corepack
359357
- uses: actions/setup-node@v4
360358
with:
361359
node-version: 20
@@ -387,7 +385,7 @@ jobs:
387385

388386
- name: Run tests on Android
389387
if: ${{ matrix.platform == 'android' }}
390-
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # pin@v2.33.0
388+
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # pin@v2.34.0
391389
with:
392390
api-level: 30
393391
force-avd-creation: false

.github/workflows/native-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626

2727
- name: Enable Corepack
28-
run: |
29-
npm install -g [email protected]
30-
corepack enable
28+
run: npm i -g corepack
3129
- uses: actions/setup-node@v4
3230
with:
3331
node-version: 18
@@ -88,7 +86,7 @@ jobs:
8886
sudo udevadm trigger --name-match=kvm
8987
9088
- name: Run connected tests
91-
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d #pin@v2.33.0
89+
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed #pin@v2.34.0
9290
with:
9391
working-directory: packages/core/RNSentryAndroidTester
9492
api-level: 30

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Get auth token
2121
id: token
22-
uses: actions/create-github-app-token@af35edadc00be37caa72ed9f3e6d5f7801bfdf09 # v1.11.7
22+
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
2323
with:
2424
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2525
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
token: ${{ steps.token.outputs.token }}
3030
fetch-depth: 0
31-
- run: corepack enable
31+
- run: npm i -g corepack
3232
- uses: actions/setup-node@v4
3333
with:
3434
node-version: 18

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ jobs:
4747
- uses: actions/checkout@v4
4848

4949
- name: Enable Corepack
50-
run: |
51-
npm install -g [email protected]
52-
corepack enable
50+
run: npm i -g corepack
5351
- uses: actions/setup-node@v4
5452
with:
5553
node-version: 18

.github/workflows/sample-application.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ jobs:
6161
- uses: actions/checkout@v4
6262

6363
- name: Enable Corepack
64-
run: |
65-
npm install -g [email protected]
66-
corepack enable
64+
run: npm i -g corepack
6765
- uses: actions/setup-node@v4
6866
with:
6967
node-version: 18
@@ -263,9 +261,7 @@ jobs:
263261
run: unzip ${{ env.ANDROID_APP_ARCHIVE_PATH }}
264262

265263
- name: Enable Corepack
266-
run: |
267-
npm install -g [email protected]
268-
corepack enable
264+
run: npm i -g corepack
269265
- uses: actions/setup-node@v4
270266
with:
271267
node-version: 18
@@ -301,7 +297,7 @@ jobs:
301297

302298
- name: Run Android Tests on API ${{ env.ANDROID_API_LEVEL }}
303299
if: ${{ matrix.platform == 'android' }}
304-
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # pin@v2.33.0
300+
uses: reactivecircus/android-emulator-runner@1dcd0090116d15e7c562f8db72807de5e036a4ed # pin@v2.34.0
305301
with:
306302
api-level: ${{ env.ANDROID_API_LEVEL }}
307303
force-avd-creation: false

.github/workflows/testflight.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
ruby-version: '3.3.0' # based on what is used in the sample
2727
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2828
cache-version: 1 # cache the installed gems
29-
- run: corepack enable
29+
- run: npm i -g corepack
3030
- uses: actions/setup-node@v4
3131
with:
3232
node-version: 18

0 commit comments

Comments
 (0)