Skip to content

Commit 27d56f2

Browse files
fix(ci): Skip metrics when secrets are not available (#4227)
1 parent d8668ce commit 27d56f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
metrics:
2525
runs-on: ${{ matrix.runs-on }}
2626
needs: [diff_check]
27-
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
27+
if: ${{ needs.diff_check.outputs.skip_ci != 'true' && env.SENTRY_AUTH_TOKEN != null }}
2828
env:
2929
SENTRY_DISABLE_AUTO_UPLOAD: 'true'
3030
strategy:

0 commit comments

Comments
 (0)