Update end-to-end-tests.yaml

This commit is contained in:
Michael Telatynski 2024-06-13 10:43:21 +01:00 committed by GitHub
parent 2ed9b2e95e
commit ccf751d6b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,7 +192,7 @@ jobs:
run: yarn playwright merge-reports --reporter=html,./playwright/flaky-reporter.ts ./all-blob-reports
env:
# Only pass creds to the flaky-reporter on main branch runs
GITHUB_TOKEN: ${{ github.event.workflow_run.head_branch == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}
GITHUB_TOKEN: ${{ github.ref_name == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}
- name: Upload HTML report
if: inputs.skip != true