feat: support wildcards in the sbom input - #726
Open
somaz94 wants to merge 1 commit into
Open
Conversation
Signed-off-by: somaz <genius5711@gmail.com>
somaz94
marked this pull request as ready for review
July 14, 2026 07:30
Author
|
@wagoodman @kzantow @willmurphyscode — friendly ping on this one (adds wildcard support to the Worth flagging that CI has never actually run here: there are zero workflow runs on the head sha, and DCO is the only check. It doesn't look PR-specific — fork PRs opened since late June (#708, #714, #727) also show zero runs, while #686 from May has three, so Could one of you approve the workflow run so there's a real signal to review against? Happy to rebase if that would help. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds glob pattern support to the
sbominput. Previously the value was passedto grype verbatim, so a pattern like
*/*.cdx.jsonfailed withunable to open file. The input is now expanded withfs.globSync; per the maintainer's noteon the issue, it must resolve to exactly one file, otherwise the action fails
with a clear error.
Uses the Node built-in
fs.globSync(runtime isnode24), so no new dependencyis added.
Validation:
npm test(lint + build + tests): 33 tests, 33 pass, 0 faildist/index.jsrebuilt vianpm run buildCloses #673