From a55c85a8ec71fd984d2769ebfbebf01a8553c4a3 Mon Sep 17 00:00:00 2001 From: Hannes Rudolph Date: Fri, 20 Feb 2026 11:33:43 -0700 Subject: [PATCH] ci: trigger code-qa workflow on pull_request_review approval (#11636) --- .github/workflows/code-qa.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/code-qa.yml b/.github/workflows/code-qa.yml index 1592b15669..f0b3c6ba50 100644 --- a/.github/workflows/code-qa.yml +++ b/.github/workflows/code-qa.yml @@ -7,9 +7,15 @@ on: pull_request: types: [opened, reopened, ready_for_review, synchronize] branches: [main] + pull_request_review: + types: [submitted] + branches: [main] jobs: check-translations: + if: | + github.event_name != 'pull_request_review' || + github.event.review.state == 'approved' runs-on: ubuntu-latest steps: - name: Checkout code @@ -20,6 +26,9 @@ jobs: run: node scripts/find-missing-translations.js knip: + if: | + github.event_name != 'pull_request_review' || + github.event.review.state == 'approved' runs-on: ubuntu-latest steps: - name: Checkout code @@ -30,6 +39,9 @@ jobs: run: pnpm knip compile: + if: | + github.event_name != 'pull_request_review' || + github.event.review.state == 'approved' runs-on: ubuntu-latest steps: - name: Checkout code @@ -43,6 +55,9 @@ jobs: unit-test: name: platform-unit-test (${{ matrix.name }}) + if: | + github.event_name != 'pull_request_review' || + github.event.review.state == 'approved' runs-on: ${{ matrix.os }} strategy: matrix: