Skip to content

Commit f8c1477

Browse files
misc(ci): Disable auto debug files upload (#3653)
1 parent acfdfa1 commit f8c1477

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
runs-on: ${{ matrix.runs-on }}
3131
needs: [diff_check]
3232
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
33+
env:
34+
SENTRY_DISABLE_AUTO_UPLOAD: 'true'
3335
strategy:
3436
# we want that the matrix keeps running, default is to cancel them if it fails.
3537
fail-fast: false
@@ -156,6 +158,7 @@ jobs:
156158
needs: [diff_check]
157159
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
158160
env:
161+
SENTRY_DISABLE_AUTO_UPLOAD: 'true' # TODO: Remove this when testing against a mocked Sentry server
159162
RN_SENTRY_POD_NAME: RNSentry
160163
RN_DIFF_REPOSITORY: https://github.com/react-native-community/rn-diff-purge.git
161164
strategy:

.github/workflows/sample-application.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
runs-on: ${{ matrix.runs-on }}
3333
needs: [diff_check]
3434
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
35+
env:
36+
SENTRY_DISABLE_AUTO_UPLOAD: 'true'
3537
strategy:
3638
# we want that the matrix keeps running, default is to cancel them if it fails.
3739
fail-fast: false

samples/react-native/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sentry {
4646
// code as part of your stack traces in Sentry.
4747
//
4848
// Default is disabled.
49-
includeSourceContext = true
49+
includeSourceContext = shouldSentryAutoUpload()
5050

5151
// Includes additional source directories into the source bundle.
5252
// These directories are resolved relative to the project directory

0 commit comments

Comments
 (0)