Skip to content

Commit 9c7802c

Browse files
Merge pull request #860 from microsoft/psl-filter-paths
fix: Filter the paths to run the pipeline
2 parents 3af716f + 5388466 commit 9c7802c

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/bicep_deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ on:
33
push:
44
branches:
55
- ckm-v2
6+
paths:
7+
- 'infra/**/*.bicep'
8+
- 'infra/**/*.json'
9+
- 'infra/scripts/**'
10+
- '.github/workflows/bicep_deploy.yml'
611

712
permissions:
813
contents: read

.github/workflows/docker-build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ on:
66
- main
77
- dev
88
- demo
9+
paths:
10+
- 'src/App/**'
11+
- 'src/api/**'
12+
- 'src/**/*.Dockerfile'
13+
- 'src/gunicorn.conf.py'
14+
- 'src/start.sh'
15+
- 'src/start.cmd'
16+
- '.github/workflows/docker-build.yml'
917
pull_request:
1018
types:
1119
- opened
@@ -16,6 +24,14 @@ on:
1624
- main
1725
- dev
1826
- demo
27+
paths:
28+
- 'src/App/**'
29+
- 'src/api/**'
30+
- 'src/**/*.Dockerfile'
31+
- 'src/gunicorn.conf.py'
32+
- 'src/start.sh'
33+
- 'src/start.cmd'
34+
- '.github/workflows/docker-build.yml'
1935
workflow_dispatch:
2036

2137
permissions:

0 commit comments

Comments
 (0)