From ac4deed0dee9d32d7e83c0c886399e5dd0dc3c32 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Wed, 5 Nov 2025 07:21:11 +0400 Subject: [PATCH] Run PR validation on triggered builds --- .github/workflows/validate-apis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate-apis.yml b/.github/workflows/validate-apis.yml index f4ae6a4dd9..6e581ef09c 100644 --- a/.github/workflows/validate-apis.yml +++ b/.github/workflows/validate-apis.yml @@ -82,14 +82,14 @@ jobs: node scripts/clone-elasticsearch/index.js --branch $branch - name: Run validation (Push) - if: github.event_name == 'push' + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' working-directory: ./clients-flight-recorder/scripts/types-validator env: BRANCH: ${{ github.ref_name }} run: node index.js --generate-report --ci --branch $BRANCH - name: Save JSON report - if: github.event_name == 'push' + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' uses: actions/cache/save@v4 with: path: ./clients-flight-recorder/recordings/types-validation/types-validation.json