-
Notifications
You must be signed in to change notification settings - Fork 104
ci: Update CI and CodeQL workflows to include additional paths #518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ment and analysis
There was a problem hiding this 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.
There was a problem hiding this 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.
There was a problem hiding this 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.
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:
.github/workflows/CI.ymlto only trigger on changes to files in theinfra,App, andDeploymentdirectories, orazure.yaml..github/workflows/codeql.ymlto 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.dockerignorefiles.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information