Skip to content

Conversation

@AjitPadhi-Microsoft
Copy link
Contributor

@AjitPadhi-Microsoft AjitPadhi-Microsoft commented Dec 9, 2025

Purpose

  • This pull request updates the workflow triggers in several GitHub Actions configuration files to use the paths filter. This ensures that workflows only run when relevant files are changed, improving CI efficiency and reducing unnecessary runs.

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

  • I have built and tested the code locally and in a deployed app
  • For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
  • This is a change for all users of this app. No code or asset is specific to my use case or my organization.

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 adds path filtering to GitHub Actions workflows to optimize CI/CD execution by running workflows only when relevant files are modified. The changes aim to reduce unnecessary workflow runs and conserve CI/CD resources by triggering workflows based on file patterns rather than running on every commit.

  • Adds path filters to Python testing and linting workflows to run only when Python source files, requirements, or tests change
  • Configures Node.js build workflow to trigger only on frontend file changes (TypeScript, JavaScript, CSS, HTML, etc.)
  • Implements path filtering for Docker build workflow to run when source code, frontend files, or Dockerfiles are modified
  • Updates deployment workflow to trigger based on application code, infrastructure files, and configuration changes
  • Removes the deprecated deploy-v2.yml workflow file (853 lines deleted)

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
.github/workflows/python-app.yml Adds path filters for Python files, requirements, tests, and the workflow file itself to trigger Python application tests
.github/workflows/pylint.yml Configures path filters to run linting only on Python source files (excluding tests) and related configuration files
.github/workflows/node.js.yml Adds comprehensive path filters for frontend file types (TS, TSX, JS, JSX, JSON, CSS, SCSS, HTML)
.github/workflows/docker-build-and-push.yml Implements path filters for Docker builds including source code, frontend files, and Dockerfile changes with test exclusions
.github/workflows/deploy-v2.yml Complete removal of deprecated deployment workflow (file deleted)
.github/workflows/deploy-linux.yml Adds path filters for deployment triggers including source code, infrastructure files, and Azure YAML configurations

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

@AjitPadhi-Microsoft AjitPadhi-Microsoft changed the base branch from main to dev December 16, 2025 11:16
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