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

Commit

Permalink
feat(pipeline): improve pipeline trigger
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ratanparai committed Jul 26, 2020
1 parent eb751de commit 60e7fb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/enrolling.api.yml
Expand Up @@ -4,11 +4,13 @@ on:
push:
paths:
- "src/Services/Enrolling/**"
- ".github/workflows/**"
- ".github/workflows/enrolling.api.yml"
- "src/Libraries/OpenTelemetry/**"
pull_request:
paths:
- "src/Services/Enrolling/**"
- ".github/workflows/**"
- ".github/workflows/enrolling.api.yml"
- "src/Libraries/OpenTelemetry/**"

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/joining.api.yml
Expand Up @@ -4,11 +4,11 @@ on:
push:
paths:
- "src/Services/Joining/**"
- ".github/workflows/**"
- ".github/workflows/joining.api.yml"
pull_request:
paths:
- "src/Services/Joining/**"
- ".github/workflows/**"
- ".github/workflows/joining.api.yml"

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/webstatus.yml
Expand Up @@ -4,11 +4,11 @@ on:
push:
paths:
- 'src/Web/WebStatus/**'
- '.github/workflows/**'
- '.github/workflows/webstatus.yml'
pull_request:
paths:
- 'src/Web/WebStatus/**'
- '.github/workflows/**'
- '.github/workflows/webstatus.yml'

jobs:

Expand Down

0 comments on commit 60e7fb7

Please sign in to comment.