fix: exclude corpus artifacts from summary

This commit is contained in:
Roman 2026-06-27 09:40:40 +08:00
parent 8b48478050
commit 0c4b7fb382
No known key found for this signature in database
GPG Key ID: 583BDF43C238B83E

View File

@ -306,9 +306,9 @@ jobs:
OUTSIDE="$RUNNER_TEMP/outside.txt"
: > "$UNUSUAL"; : > "$OUTSIDE"
# Scan the WHOLE working tree (not just corpus/) so anything touched
# outside corpus/ is surfaced for the reviewer.
mapfile -t changes < <(git status --porcelain --untracked-files=all)
# Scan the working tree (not just corpus/) so anything touched outside
# corpus/ is surfaced for the reviewer. Exclude corpus-artifacts.
mapfile -t changes < <(git status --porcelain --untracked-files=all -- ':(exclude)corpus-artifacts')
added=0; deleted=0; modified=0; other=0
declare -A tgt_add tgt_del tgt_mod