From 10861a0d1aae86220b282ee6b21dc2bfc9b07e4d Mon Sep 17 00:00:00 2001 From: Harmanpreet-Microsoft Date: Wed, 17 Dec 2025 07:25:44 +0000 Subject: [PATCH 1/3] Update CI and CodeQL workflows to include additional paths for deployment and analysis --- .github/workflows/CI.yml | 5 +++++ .github/workflows/codeql.yml | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 57c26bb6..8c658e62 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -5,6 +5,11 @@ on: - main # Adjust this to the branch you want to trigger the deployment on - dev - demo + paths: + - 'infra/**' + - 'App/**' + - 'Deployment/**' + - 'azure.yaml' schedule: - cron: "0 10,22 * * *" # Runs at 10:00 AM and 10:00 PM GMT diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 02898b3e..7a7342cb 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,8 +3,26 @@ name: "CodeQL Advanced" on: push: branches: [ "main", "dev", "demo" ] + paths: + - 'App/backend-api/**' + - 'App/frontend-app/**' + - 'App/kernel-memory/**' + - '.github/workflows/codeql.yml' + paths-ignore: + - '**/.gitignore' + - '**/Dockerfile' + - '**/.dockerignore' pull_request: branches: [ "main", "dev", "demo" ] + paths: + - 'App/backend-api/**' + - 'App/frontend-app/**' + - 'App/kernel-memory/**' + - '.github/workflows/codeql.yml' + paths-ignore: + - '**/.gitignore' + - '**/Dockerfile' + - '**/.dockerignore' schedule: - cron: '37 2 * * 5' From c9c92b9e171e7a491f790d730d6f66f8b279da43 Mon Sep 17 00:00:00 2001 From: Harmanpreet-Microsoft Date: Wed, 17 Dec 2025 07:33:22 +0000 Subject: [PATCH 2/3] Update CI workflow to include additional paths for deployment and analysis --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8c658e62..148a7f22 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,6 +10,9 @@ on: - 'App/**' - 'Deployment/**' - 'azure.yaml' + - '.github/workflows/CI.yml' + - '.github/workflows/test-automation.yml' + - ' tests/**' schedule: - cron: "0 10,22 * * *" # Runs at 10:00 AM and 10:00 PM GMT From 9ea833b2edb6ca7caac9e0b6dd496bea82a32a61 Mon Sep 17 00:00:00 2001 From: Harmanpreet-Microsoft Date: Wed, 17 Dec 2025 07:39:14 +0000 Subject: [PATCH 3/3] Fix formatting issue in CI workflow by removing leading space in path --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 148a7f22..448837be 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,7 +12,7 @@ on: - 'azure.yaml' - '.github/workflows/CI.yml' - '.github/workflows/test-automation.yml' - - ' tests/**' + - 'tests/**' schedule: - cron: "0 10,22 * * *" # Runs at 10:00 AM and 10:00 PM GMT