mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
The classification moves into .github/scripts/docs-only-scope.sh: it writes git's NUL-delimited list to a file and reads it to the end, so no pipe stops early and a writer's error cannot read as "no other file". A failed git diff exits nonzero, and the step then runs the tests. docs-only-scope-test.sh runs first in the step, against real commits: docs only, docs and a test file, no file, a docs-like prefix, README, a move out of docs, a docs deletion, 20000 docs files with one other file last, an unknown revision (an error), and that test.yml applies the check only to a pull request's process suite and gates all four process steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>