diff --git a/.github/workflows/tests_others.yml b/.github/workflows/tests_others.yml index 242f9740ee..eb37329c57 100644 --- a/.github/workflows/tests_others.yml +++ b/.github/workflows/tests_others.yml @@ -22,7 +22,7 @@ env: jobs: test_stress: name: Stress - ${{ matrix.os }} - if: github.repository == 'microsoft/playwright' || github.event_name == 'workflow_dispatch' + if: github.repository == 'microsoft/playwright' strategy: fail-fast: false matrix: @@ -59,7 +59,7 @@ jobs: test_webview2: name: WebView2 - if: github.repository == 'microsoft/playwright' || github.event_name == 'workflow_dispatch' + if: github.repository == 'microsoft/playwright' environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} runs-on: windows-2022 permissions: @@ -90,7 +90,7 @@ jobs: test_clock_frozen_time_linux: name: time library - ${{ matrix.clock }} - if: github.repository == 'microsoft/playwright' || github.event_name == 'workflow_dispatch' + if: github.repository == 'microsoft/playwright' environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} permissions: id-token: write # This is required for OIDC login (azure/login) to succeed @@ -116,7 +116,7 @@ jobs: test_clock_frozen_time_test_runner: name: time test runner - ${{ matrix.clock }} - if: github.repository == 'microsoft/playwright' || github.event_name == 'workflow_dispatch' + if: github.repository == 'microsoft/playwright' environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} runs-on: ubuntu-22.04 permissions: @@ -141,7 +141,7 @@ jobs: test_electron: name: Electron - ${{ matrix.os }} - if: github.repository == 'microsoft/playwright' || github.event_name == 'workflow_dispatch' + if: github.repository == 'microsoft/playwright' environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} strategy: fail-fast: false