Skip to content

Conversation

@teodorciuraru
Copy link
Contributor

Summary

Adds path filters to Java CI workflows to prevent them from running on unrelated PRs.

Problem

Currently these workflows run on EVERY pull request:

  • android-java-ci.yml
  • java-server-ci.yml

This wastes CI resources and slows down unrelated PRs.

Changes

Added path filters so workflows only run when relevant files change:

  • android-java-ci.yml: Only runs on android-java/** changes
  • java-server-ci.yml: Only runs on java-server/** changes

Impact

  • Faster PR feedback for unrelated changes
  • Reduced CI resource usage
  • Consistent with other project CIs (react-native, flutter, etc.)

🤖 Generated with Claude Code

Prevents unnecessary CI runs on unrelated PRs.

- android-java-ci.yml: Only run on android-java/** changes
- java-server-ci.yml: Only run on java-server/** changes

Saves CI resources and speeds up unrelated PRs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@teodorciuraru teodorciuraru self-assigned this Nov 21, 2025
@teodorciuraru teodorciuraru marked this pull request as ready for review November 21, 2025 15:39
@teodorciuraru teodorciuraru requested a review from a team as a code owner November 21, 2025 15:39
@teodorciuraru teodorciuraru requested review from Copilot and dsharp-pivotal and removed request for dsharp-pivotal November 21, 2025 15:39
@teodorciuraru teodorciuraru added the invalid This doesn't seem right label Nov 21, 2025
Copilot finished reviewing on behalf of teodorciuraru November 21, 2025 15:41
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 adds path filters to two Java CI workflows (android-java-ci.yml and java-server-ci.yml) to prevent them from running on unrelated pull requests, reducing CI resource usage and improving feedback time for PRs that don't affect these projects.

  • Added path filters to android-java-ci.yml targeting android-java/** directory and the workflow file itself
  • Added path filters to java-server-ci.yml targeting java-server/** directory and the workflow file itself

Reviewed changes

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

File Description
.github/workflows/android-java-ci.yml Added path filters to only run workflow when android-java code or the workflow file changes
.github/workflows/java-server-ci.yml Added path filters to only run workflow when java-server code or the workflow file changes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants