actions / attest

Action for generating attestations for workflow artifacts
MIT License
28 stars 5 forks source link

bugfix for glob exclude patterns #100

Closed bdehamer closed 2 months ago

bdehamer commented 2 months ago

Per: https://github.com/actions/attest-build-provenance/issues/150

Fixes a bug with the way that glob patterns for the subject path are handled. Previously, each glob pattern was processed separately, which caused issues when an exclusion (!) pattern was supplied.

This change passes all of the glob patterns to the glob library at once, which ensures that exclusion patterns are handled correctly.