Skip to content

Commit 1f5a12e

Browse files
Merge pull request #518 from Harmanpreet-Microsoft/dev
ci: Update CI and CodeQL workflows to include additional paths
2 parents 6377133 + 9ea833b commit 1f5a12e

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ 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/CI.yml'
14+
- '.github/workflows/test-automation.yml'
15+
- 'tests/**'
816
schedule:
917
- cron: "0 10,22 * * *" # Runs at 10:00 AM and 10:00 PM GMT
1018

.github/workflows/codeql.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,26 @@ name: "CodeQL Advanced"
33
on:
44
push:
55
branches: [ "main", "dev", "demo" ]
6+
paths:
7+
- 'App/backend-api/**'
8+
- 'App/frontend-app/**'
9+
- 'App/kernel-memory/**'
10+
- '.github/workflows/codeql.yml'
11+
paths-ignore:
12+
- '**/.gitignore'
13+
- '**/Dockerfile'
14+
- '**/.dockerignore'
615
pull_request:
716
branches: [ "main", "dev", "demo" ]
17+
paths:
18+
- 'App/backend-api/**'
19+
- 'App/frontend-app/**'
20+
- 'App/kernel-memory/**'
21+
- '.github/workflows/codeql.yml'
22+
paths-ignore:
23+
- '**/.gitignore'
24+
- '**/Dockerfile'
25+
- '**/.dockerignore'
826
schedule:
927
- cron: '37 2 * * 5'
1028

0 commit comments

Comments
 (0)