predicate-path and sbom-path fail when their supplied files do not exist. subject-path only fails when the whole input resolves to no files.
For example:
with:
subject-path: |
dist/existing.tar.gz
dist/missing.tar.gz
If existing.tar.gz exists, the action succeeds and silently omits missing.tar.gz from the attestation.
Is this difference intentional? If not, could subject-path fail when any positive literal path is missing? Glob and exclusion patterns could keep their current behavior.
predicate-pathandsbom-pathfail when their supplied files do not exist.subject-pathonly fails when the whole input resolves to no files.For example:
If
existing.tar.gzexists, the action succeeds and silently omitsmissing.tar.gzfrom the attestation.Is this difference intentional? If not, could
subject-pathfail when any positive literal path is missing? Glob and exclusion patterns could keep their current behavior.