Skip to content

Commit ab15054

Browse files
authored
Update TypeScript workflow to run only if TS-related samples change (#24691)
* update ts workflow to run only if ts related samples change * push master only * Revert "push master only" This reverts commit 29badc9. * push master only * update
1 parent 23dd9fc commit ab15054

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.github/workflows/samples-typescript-typecheck.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
name: TypeScript clients type checks
22

33
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- samples/client/petstore/typescript*/**
9+
- samples/client/others/typescript*/**
10+
- samples/client/echo_api/typescript*/**
11+
- samples/openapi3/client/petstore*/typescript/**
12+
- samples/server/petstore/typescript-nestjs-server/**
13+
- bin/ts-typecheck-all.sh
14+
- .github/workflows/samples-typescript-typecheck.yaml
415
pull_request:
516
paths:
6-
- samples/**
17+
- samples/client/petstore/typescript*/**
18+
- samples/client/others/typescript*/**
19+
- samples/client/echo_api/typescript*/**
20+
- samples/openapi3/client/petstore*/typescript/**
21+
- samples/server/petstore/typescript-nestjs-server/**
722
- bin/ts-typecheck-all.sh
823
- .github/workflows/samples-typescript-typecheck.yaml
924
jobs:

0 commit comments

Comments
 (0)