Commit 39c58f62885 for woocommerce

commit 39c58f628857d53754379daa2a8974ef3b4aaa5c
Author: Rostislav Wolný <1082140+costasovo@users.noreply.github.com>
Date:   Fri Jul 31 13:13:27 2026 +0200

    Give woocommercebot PRs a larger e2e timeout (#67178)

    * Give woocommercebot PRs a larger e2e timeout

    Blocks e2e shard 10/10 times out on every package-release PR. No test fails -
    the shard reaches 51 of 55 tests and the step is killed at 20 minutes.

    The 20-minute PR cap on this step has been in
    place since #57151 (April 2025), sized for ubuntu-latest. #65833 (June 2026)
    then routed woocommercebot PRs onto the WooCommerce Release Checks runner
    group, which is roughly 1.45x slower across all ten blocks shards.

    Give only woocommercebot PRs 30 minutes for e2e.

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 28e54f0a62c..152e8ff5c5b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -330,7 +330,9 @@ jobs:
           path: '${{ runner.temp }}/last-run-info'

       - name: 'Run tests (${{ matrix.testType }})'
-        timeout-minutes: ${{ ( github.event_name == 'pull_request' && ( ( matrix.testType == 'e2e' && 20 ) || ( matrix.testType == 'unit:php' && 20 ) ) ) || 360 }}
+        # `woocommercebot` PRs run on the `WooCommerce Release Checks` group (see `runs-on` above),
+        # which is slower than `ubuntu-latest`, so they need a larger e2e budget than other PRs.
+        timeout-minutes: ${{ ( github.event_name == 'pull_request' && ( ( matrix.testType == 'e2e' && ( github.event.pull_request.user.login == 'woocommercebot' && 30 || 20 ) ) || ( matrix.testType == 'unit:php' && 20 ) ) ) || 360 }}
         env:
           E2E_ENV_KEY: ${{ secrets.E2E_ENV_KEY }}
           CODEVITALS_PROJECT_TOKEN: ${{ secrets.CODEVITALS_PROJECT_TOKEN }} # required by Metrics tests