Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 60e7fb7

Browse files
committed
feat(pipeline): improve pipeline trigger
Improve the pipeline trigger as this is a monorepo. Any changes made to the library should trigger the service's build that are using the library. Also workflow file change only trigger the specific workflow file.
1 parent eb751de commit 60e7fb7

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/enrolling.api.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ on:
44
push:
55
paths:
66
- "src/Services/Enrolling/**"
7-
- ".github/workflows/**"
7+
- ".github/workflows/enrolling.api.yml"
8+
- "src/Libraries/OpenTelemetry/**"
89
pull_request:
910
paths:
1011
- "src/Services/Enrolling/**"
11-
- ".github/workflows/**"
12+
- ".github/workflows/enrolling.api.yml"
13+
- "src/Libraries/OpenTelemetry/**"
1214

1315
jobs:
1416
build:

.github/workflows/joining.api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
paths:
66
- "src/Services/Joining/**"
7-
- ".github/workflows/**"
7+
- ".github/workflows/joining.api.yml"
88
pull_request:
99
paths:
1010
- "src/Services/Joining/**"
11-
- ".github/workflows/**"
11+
- ".github/workflows/joining.api.yml"
1212

1313
jobs:
1414
build:

.github/workflows/webstatus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
push:
55
paths:
66
- 'src/Web/WebStatus/**'
7-
- '.github/workflows/**'
7+
- '.github/workflows/webstatus.yml'
88
pull_request:
99
paths:
1010
- 'src/Web/WebStatus/**'
11-
- '.github/workflows/**'
11+
- '.github/workflows/webstatus.yml'
1212

1313
jobs:
1414

0 commit comments

Comments
 (0)