Skip to content

Conversation

@Yicong-Huang
Copy link
Contributor

We currently run all CI workflows regardless of the changes in a PR. This update allows us to skip non-relevant CI jobs when the PR does not modify the related code.

Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 7, 2025 23:01
Copy link
Contributor

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 implements conditional CI execution to skip non-relevant workflows when changes don't affect the related code. The update adds path-based filtering to the GitHub Actions workflow to detect Python code changes and skip the build process when no relevant changes are detected.

Key changes:

  • Adds path filtering using dorny/paths-filter@v3 to detect changes in Python code directory
  • Implements early exit mechanism when no Python changes are detected
  • Updates checkout action from v2 to v4 with full history fetch

Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
@Yicong-Huang Yicong-Huang marked this pull request as draft August 8, 2025 01:36
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