◐ Shell
clean mode source ↗

Skip CI tests for non-code changes using dorny/paths-filter by xerial · Pull Request #901 · msgpack/msgpack-java

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

xerial

merged 1 commit into

Jul 19, 2025

Conversation

@xerial

Summary

  • Implements dorny/paths-filter to conditionally skip CI tests based on file changes
  • Adds a changes job that detects whether code or documentation files were modified
  • Updates code_format and test jobs 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 xerial deleted the skip-ci-tests-with-paths-filter branch

July 19, 2025 17:45

1 participant

@xerial