mirror of
https://github.com/actions/attest.git
synced 2026-12-01 13:49:24 +08:00
* fix: fail when a literal subject-path entry matches no files Previously, subject-path only failed when the entire input resolved to zero files, so a missing literal path mixed with valid entries was silently omitted from the attestation. Each literal (non-glob) entry must now resolve to at least one file. Glob patterns may still match nothing, and exclusion patterns are not validated. Fixes #489 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * fix: ignore whitespace-only subject-path entries Trim entries before filtering out empty ones so that whitespace-only list items are dropped rather than validated as missing literal paths. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>