Commit 8ade4f1
committed
🤖 ci: use paths-filter for selective test execution
Use dorny/paths-filter to detect file changes and skip tests for docs-only PRs.
Changes:
- Add 'changes' job to detect docs-only PRs
- Jobs use simple job-level 'if:' to skip when not needed
- Add 'ci-passed' job as single required check (passes if all jobs pass or skip)
- Simplify workflow by removing verbose step names and comments
Skip logic:
- docs-only: skip all tests (unit, integration, e2e, storybook, smoke)
- Any src/tests/config changes: run all tests
The 'ci-passed' job should be configured as the only required check in branch
protection settings. It will pass when jobs are skipped due to path filtering.
_Generated with `mux`_1 parent 129554e commit 8ade4f1
File tree
6 files changed
+143
-1205
lines changed- .github/workflows
- scripts/selective-tests
6 files changed
+143
-1205
lines changed
0 commit comments