Skip to content

Commit 463a5d2

Browse files
authored
Run PR validation on triggered builds (#5611)
1 parent edcd4d7 commit 463a5d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/validate-apis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ jobs:
8282
node scripts/clone-elasticsearch/index.js --branch $branch
8383
8484
- name: Run validation (Push)
85-
if: github.event_name == 'push'
85+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
8686
working-directory: ./clients-flight-recorder/scripts/types-validator
8787
env:
8888
BRANCH: ${{ github.ref_name }}
8989
run: node index.js --generate-report --ci --branch $BRANCH
9090

9191
- name: Save JSON report
92-
if: github.event_name == 'push'
92+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
9393
uses: actions/cache/save@v4
9494
with:
9595
path: ./clients-flight-recorder/recordings/types-validation/types-validation.json

0 commit comments

Comments
 (0)