Skip to content

Commit 3d11d13

Browse files
Merge pull request #173 from microsoft/psl-path-filter
fix: Filter the paths to run the pipeline
2 parents 252ead6 + 4fe047b commit 3d11d13

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/deploy-v2.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,25 @@ on:
1111
- main
1212
- dev
1313
- demo
14+
paths:
15+
- 'src/**'
16+
- 'infra/**'
17+
- 'azure*.yaml'
18+
- 'scripts/**'
19+
- '.github/workflows/deploy-v2.yml'
20+
- '.github/workflows/deploy-orchestrator.yml'
21+
- '.github/workflows/job-*.yml'
1422
pull_request:
1523
branches:
1624
- dev
25+
paths:
26+
- 'src/**'
27+
- 'infra/**'
28+
- 'azure*.yaml'
29+
- 'scripts/**'
30+
- '.github/workflows/deploy-v2.yml'
31+
- '.github/workflows/deploy-orchestrator.yml'
32+
- '.github/workflows/job-*.yml'
1733
schedule:
1834
- cron: '0 9,21 * * *' # Runs at 9:00 AM and 9:00 PM GMT
1935
workflow_dispatch:

0 commit comments

Comments
 (0)