Skip to content

Commit 09095f0

Browse files
fix: Filter the paths to run the pipeline (#2152)
1 parent 51916ac commit 09095f0

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

.github/workflows/broken-links-checker.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Broken Link Checker
22

33
on:
44
pull_request:
5+
paths:
6+
- '**/*.md'
7+
- '.github/workflows/broken-links-checker.yml'
58
workflow_dispatch:
69

710
permissions:

.github/workflows/build-docker-images.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,27 @@ on:
66
- main
77
- dev
88
- demo
9+
paths:
10+
- 'code/**'
11+
- '!code/tests/**'
12+
- 'docker/**'
13+
- 'package.json'
14+
- 'pyproject.toml'
15+
- '.github/workflows/build-docker-images.yml'
16+
- '.github/workflows/build-docker.yml'
917
pull_request:
1018
branches:
1119
- main
1220
- dev
1321
- demo
22+
paths:
23+
- 'code/**'
24+
- '!code/tests/**'
25+
- 'docker/**'
26+
- 'package.json'
27+
- 'pyproject.toml'
28+
- '.github/workflows/build-docker-images.yml'
29+
- '.github/workflows/build-docker.yml'
1430
types:
1531
- opened
1632
- ready_for_review

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ on:
66
- main
77
- dev
88
- demo
9+
paths:
10+
- 'infra/**'
11+
- 'scripts/**'
12+
- 'azure.yaml'
13+
- 'pyproject.toml'
14+
- 'Makefile'
15+
- '.github/workflows/ci.yml'
916
schedule:
1017
- cron: '0 8,20 * * *' # Runs at 8:00 AM and 8:00 PM GMT
1118
workflow_dispatch:

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ on:
1212
- '.github/workflows/tests.yml'
1313
pull_request:
1414
branches: [main, dev, demo]
15+
paths:
16+
- 'code/**'
17+
- 'pyproject.toml'
18+
- 'package.json'
19+
- 'pytest.ini'
20+
- '.github/workflows/tests.yml'
1521
types:
1622
- opened
1723
- ready_for_review

0 commit comments

Comments
 (0)