Commit 0fc3c71e037 for woocommerce
commit 0fc3c71e037fd7f2de3480f71fe4a4b44bf7716f
Author: Jamel Noel Reid <MrJnrman@users.noreply.github.com>
Date: Wed Aug 12 04:17:46 2026 -0500
[DEVPROD-1148] Route e2e jobs to dedicated runner group when the queue switch is on (#67639)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c6e8b482807..7579f4cea86 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -207,7 +207,9 @@ jobs:
project-test-jobs:
name: '${{ matrix.name }}'
- runs-on: ${{ github.event.pull_request.user.login == 'woocommercebot' && fromJSON('{"group":"WooCommerce Release Checks"}') || 'ubuntu-latest' }}
+ # While the CI_QUEUE_OVERFLOW repository variable is '1', e2e jobs route to the
+ # dedicated group. Fork PRs are excluded.
+ runs-on: ${{ github.event.pull_request.user.login == 'woocommercebot' && fromJSON('{"group":"WooCommerce Release Checks"}') || ( vars.CI_QUEUE_OVERFLOW == '1' && matrix.testType == 'e2e' && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository ) ) && fromJSON('{"group":"Woo Core Dedicated CI"}') || 'ubuntu-latest' }}
needs: [ 'identify-jobs-to-run', 'project-jobs', 'woocommerce-plugin-build-artifact' ]
if: ${{ !cancelled() && ( github.event_name != 'pull_request' || needs.identify-jobs-to-run.outputs.needs-code-validation == 'true' ) && needs.project-jobs.outputs.test-jobs != '[]' && ( needs.woocommerce-plugin-build-artifact.result == 'success' || needs.woocommerce-plugin-build-artifact.result == 'skipped' || needs.project-jobs.outputs.shared-plugin-build-has-required-consumers != 'true' ) }}
env: ${{ matrix.testEnv.envVars }}