Skip to content

Conversation

@Harmanpreet-Microsoft
Copy link
Contributor

Purpose

  • ...
    This pull request updates the GitHub Actions workflow triggers to make CI and CodeQL jobs run only when relevant files are changed. This helps reduce unnecessary workflow runs and improves efficiency.

Workflow trigger improvements:

  • Updated .github/workflows/CI.yml to only trigger on changes to files in the infra, App, and Deployment directories, or azure.yaml.
  • Updated .github/workflows/codeql.yml to only trigger on changes to specific subdirectories (App/backend-api, App/frontend-app, App/kernel-memory) or the workflow file itself, and to ignore changes to .gitignore, Dockerfile, and .dockerignore files.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes CI/CD workflow efficiency by adding path filters to GitHub Actions workflows, ensuring they only run when relevant files are modified. The changes reduce unnecessary workflow executions for the Deploy-Test-Cleanup Pipeline and CodeQL security scanning.

Key Changes:

  • Added path filters to CI workflow to trigger only on changes to infrastructure, application code, deployment scripts, or Azure configuration
  • Added path filters to CodeQL workflow to trigger only on changes to application code directories while excluding build configuration files

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/CI.yml Added path filters for infra/**, App/**, Deployment/**, and azure.yaml to trigger workflow only on relevant changes
.github/workflows/codeql.yml Added path filters for App subdirectories with exclusions for .gitignore, Dockerfile, and .dockerignore files to focus CodeQL scans on actual code changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Roopan-Microsoft Roopan-Microsoft merged commit 1f5a12e into microsoft:dev Dec 23, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants