Skip to content

fix: Filter the paths to run the pipeline#2152

Open
Prekshith-Microsoft wants to merge 1 commit intoAzure-Samples:devfrom
Prekshith-Microsoft:psl-pathfilter
Open

fix: Filter the paths to run the pipeline#2152
Prekshith-Microsoft wants to merge 1 commit intoAzure-Samples:devfrom
Prekshith-Microsoft:psl-pathfilter

Conversation

@Prekshith-Microsoft
Copy link
Copy Markdown
Contributor

@Prekshith-Microsoft Prekshith-Microsoft commented Apr 6, 2026

This pull request updates several GitHub Actions workflow files to add path filters, ensuring that workflows only run when relevant files are changed. This helps reduce unnecessary CI/CD runs and improves efficiency.

Workflow trigger improvements:

  • Updated .github/workflows/build-docker-images.yml to trigger only when source code, Docker-related files, or workflow configuration files are changed, excluding test code.
  • Updated .github/workflows/tests.yml to trigger only when code, configuration, or test-related files are changed.
  • Updated .github/workflows/ci.yml to trigger only when infrastructure, scripts, or core configuration files are changed.
  • Updated .github/workflows/broken-links-checker.yml to trigger only when Markdown files or its own workflow file are changed.## Purpose
  • ...

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

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.

1 participant