Skip to content

Commit

Permalink
Use secrets in the if condition since env is not accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
antonis committed Nov 4, 2024
1 parent 2a32d81 commit a139904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
metrics:
runs-on: ${{ matrix.runs-on }}
needs: [diff_check]
if: ${{ needs.diff_check.outputs.skip_ci != 'true' && env.SENTRY_AUTH_TOKEN != null }}
if: ${{ needs.diff_check.outputs.skip_ci != 'true' && secrets.SENTRY_AUTH_TOKEN != null }}
env:
SENTRY_DISABLE_AUTO_UPLOAD: 'true'
strategy:
Expand Down

0 comments on commit a139904

Please sign in to comment.