Commit c8c988b0279 for woocommerce

commit c8c988b02793a54a91309afe3880dc8c2c5d1268
Author: Jorge A. Torres <jorge.torres@automattic.com>
Date:   Tue May 12 14:50:17 2026 +0100

    Limit reviewer assignment workflow to trunk and release branches (#64769)

diff --git a/.github/workflows/automate-team-review-assignment.yml b/.github/workflows/automate-team-review-assignment.yml
index 3211aacba24..d5a7ac285d5 100644
--- a/.github/workflows/automate-team-review-assignment.yml
+++ b/.github/workflows/automate-team-review-assignment.yml
@@ -73,7 +73,7 @@ jobs:
               token: ${{ secrets.PR_ASSIGN_TOKEN }}

         - name: Assign reviewers for a teams PR
-          if: ${{ steps.check.outputs.contributor == 'no' && github.event.pull_request.draft == false && ! contains( github.event.pull_request.labels.*.name, 'Release' ) }}
+          if: ${{ steps.check.outputs.contributor == 'no' && github.event.pull_request.draft == false && ! contains( github.event.pull_request.labels.*.name, 'Release' ) && ( github.event.pull_request.base.ref == 'trunk' || startsWith( github.event.pull_request.base.ref, 'release/' ) ) }}
           continue-on-error: ${{ ( github.event.pull_request.head.repo.fork && 'true' ) || 'false' }}
           uses: acq688/Request-Reviewer-For-Team-Action@fca1c60fd0504aef59bdc925f3902c8a2d8bce62 # v1.1
           with: