Skip to content

Commit f9f14bd

Browse files
Merge pull request #393 from microsoft/psl-path-filter
fix: Filter the paths for pipeline run
2 parents 53d8363 + 73c461c commit f9f14bd

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/pylint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ permissions:
55

66
on:
77
push:
8+
branches: [main, dev, demo]
9+
paths:
10+
- '**/*.py'
11+
- '**/requirements.txt'
12+
- '**/pyproject.toml'
13+
- '.flake8'
14+
- '.github/workflows/pylint.yml'
15+
pull_request:
16+
branches: [main, dev, demo]
17+
types: [opened, ready_for_review, reopened, synchronize]
818
paths:
919
- '**/*.py'
1020
- '**/requirements.txt'

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- demo
1111
paths:
1212
- 'src/backend/**/*.py'
13-
- 'src/tests/backend/**'
13+
- 'src/tests/**'
1414
- '.github/workflows/test.yml'
1515
- 'src/backend/requirements.txt'
1616
- 'src/frontend/requirements.txt'
@@ -27,7 +27,7 @@ on:
2727
- demo
2828
paths:
2929
- 'src/backend/**/*.py'
30-
- 'src/tests/backend/**'
30+
- 'src/tests/**'
3131
- '.github/workflows/test.yml'
3232
- 'src/backend/requirements.txt'
3333
- 'src/frontend/requirements.txt'

0 commit comments

Comments
 (0)