Skip to content

Commit fdc1e3e

Browse files
authored
Merge pull request dotnet-architecture#1593 from borjasanes/fix/filter-workflows-on-pr
filter workflows on pr
2 parents d0b1dd0 + 71c7e41 commit fdc1e3e

14 files changed

Lines changed: 70 additions & 0 deletions

.github/workflows/basket-api.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Services/Basket/*
20+
- .github/workflows/basket-api.yml
1621
env:
1722
SERVICE: basket-api
1823
IMAGE: basket.api

.github/workflows/catalog-api.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Services/Catalog/*
20+
- .github/workflows/catalog-api.yml
1621
env:
1722
SERVICE: catalog-api
1823
IMAGE: catalog.api

.github/workflows/identity-api.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Services/Identity/*
20+
- .github/workflows/identity-api.yml
1621
env:
1722
SERVICE: identity-api
1823
IMAGE: identity.api

.github/workflows/mobileshoppingagg.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
pull_request:
1313
branches:
1414
- dev
15+
16+
paths:
17+
- src/ApiGateways/Mobile.Bff.Shopping/aggregator/*
18+
- .github/workflows/mobileshoppingagg.yml
1519
env:
1620
SERVICE: mobileshoppingagg
1721
IMAGE: mobileshoppingagg

.github/workflows/ordering-api.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Services/Ordering/*
20+
- .github/workflows/ordering-api.yml
1621
env:
1722
SERVICE: ordering-api
1823
IMAGE: ordering.api

.github/workflows/ordering-backgroundtasks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Services/Ordering/*
20+
- .github/workflows/ordering-backgroundtasks.yml
1621
env:
1722
SERVICE: ordering-backgroundtasks
1823
IMAGE: ordering.backgroundtasks

.github/workflows/ordering-signalrhub.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Services/Ordering/*
20+
- .github/workflows/ordering-signalrhub.yml
1621
env:
1722
SERVICE: ordering-signalrhub
1823
IMAGE: ordering.signalrhub

.github/workflows/payment-api.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Services/Payment/*
20+
- .github/workflows/payment-api.yml
1621
env:
1722
SERVICE: payment-api
1823
IMAGE: payment.api

.github/workflows/webhooks-api.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Services/Webhooks/*
20+
- .github/workflows/webhooks-api.yml
1621
env:
1722
SERVICE: webhooks-api
1823
IMAGE: webhooks.api

.github/workflows/webhooks-client.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
pull_request:
1414
branches:
1515
- dev
16+
17+
paths:
18+
- src/BuildingBlocks/*
19+
- src/Web/WebhookClient/*
20+
- .github/workflows/webhooks-client.yml
1621
env:
1722
SERVICE: webhooks-client
1823
IMAGE: webhooks.client

0 commit comments

Comments
 (0)