Skip CI tests for non-code changes using dorny/paths-filter by xerial · Pull Request #901 · msgpack/msgpack-java
-
Notifications
You must be signed in to change notification settings - Fork 323
Merged
Conversation
Summary
- Implements dorny/paths-filter to conditionally skip CI tests based on file changes
- Adds a
changesjob that detects whether code or documentation files were modified - Updates
code_formatandtestjobs to only run when code changes are detected - Improves CI efficiency by skipping expensive test matrix when only documentation is updated
Benefits
- Faster CI runs for documentation-only PRs
- Reduced resource usage and costs
- Maintains all existing functionality for code changes
Test plan
- Verify CI runs normally for code changes
- Verify CI skips tests for documentation-only changes
- Test with mixed changes (code + docs)
🤖 Generated with Claude Code
- Add dorny/paths-filter action to detect file changes - Skip code format and test jobs when only docs are changed - Improve CI efficiency by running tests only when needed 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
xerial
deleted the
skip-ci-tests-with-paths-filter
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters