Skip to content

Commit 575b520

Browse files
Merge pull request #153 from microsoft/psl-yml-paths
fix: Updated the particular path for yml to run pipelines
2 parents 293a69f + 7327ca9 commit 575b520

5 files changed

Lines changed: 34 additions & 1 deletion

File tree

.github/workflows/azure-dev.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
name: Azure Dev Deploy
22
on:
33
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'infra/**'
9+
- 'azure*.yaml'
10+
- '.github/workflows/azure-dev.yml'
411

512
permissions:
613
contents: read

.github/workflows/codeql.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@ name: "CodeQL Advanced"
1414
on:
1515
push:
1616
branches: [ "main", "dev", "demo" ]
17+
paths:
18+
- 'src/**'
19+
- 'infra/scripts/**/*.py'
20+
- '.github/workflows/codeql.yml'
1721
pull_request:
1822
branches: [ "main", "dev", "demo" ]
23+
paths:
24+
- 'src/**'
25+
- 'infra/scripts/**/*.py'
1926
schedule:
2027
- cron: '44 20 * * 2'
2128

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ on:
1010
- main
1111
- dev
1212
- demo
13+
paths:
14+
- 'src/**'
15+
- 'infra/**'
16+
- 'azure*.yaml'
17+
- '.github/workflows/deploy.yml'
1318
schedule:
1419
- cron: '0 5,17 * * *' # Runs at 5:00 AM and 5:00 PM GMT
1520
workflow_dispatch:

.github/workflows/docker-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- main
1111
- dev
1212
- demo
13+
paths:
14+
- 'src/App/**'
15+
- 'src/api/**'
16+
- '.github/workflows/docker-build.yml'
1317
pull_request:
1418
types:
1519
- opened
@@ -20,6 +24,10 @@ on:
2024
- main
2125
- dev
2226
- demo
27+
paths:
28+
- 'src/App/**'
29+
- 'src/api/**'
30+
- '.github/workflows/docker-build.yml'
2331
workflow_dispatch:
2432

2533
jobs:

.github/workflows/pylint.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: PyLint
22

3-
on: [push]
3+
on:
4+
push:
5+
paths:
6+
- 'src/api/**/*.py'
7+
- 'infra/scripts/**/*.py'
8+
- '.flake8'
9+
- '.github/workflows/pylint.yml'
410

511
jobs:
612
build:

0 commit comments

Comments
 (0)