Skip to content

Commit 564d40a

Browse files
Filter the paths to run the pipeline
1 parent 5517013 commit 564d40a

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/Create-Release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ on:
22
push:
33
branches:
44
- main
5+
paths:
6+
- 'infra/**'
7+
- 'App/**'
8+
- 'Deployment/**'
9+
- 'azure.yaml'
10+
- '.github/workflows/Create-Release.yml'
511

612
permissions:
713
contents: write

.github/workflows/deploy-v2.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ on:
55
- main # Adjust this to the branch you want to trigger the deployment on
66
- dev
77
- demo
8+
paths:
9+
- 'infra/**'
10+
- 'App/**'
11+
- 'Deployment/**'
12+
- 'azure.yaml'
13+
- '.github/workflows/deploy-v2.yml'
14+
- '.github/workflows/deploy-orchestrator.yml'
15+
- '.github/workflows/job-deploy.yml'
16+
- '.github/workflows/job-deploy-linux.yml'
17+
- '.github/workflows/job-cleanup-deployment.yml'
18+
- '.github/workflows/job-send-notification.yml'
19+
- '.github/workflows/test-automation-v2.yml'
20+
- 'tests/**'
821
schedule:
922
- cron: "0 10,22 * * *" # Runs at 10:00 AM and 10:00 PM UTC
1023

0 commit comments

Comments
 (0)