Skip to content

Commit 5da2de5

Browse files
joker23claude
andcommitted
fix(ci): test omit-optional flag to exclude LGPL optional deps from SBOM
Point generate-sbom at the skz/ignore-optional branch of gh-actions which adds --omit optional to cdxgen. This should exclude @img/sharp-libvips-* (LGPL-3.0, optional deps of sharp via Next.js) from the SBOM. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5f1f98f commit 5da2de5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/dependency-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@0a54234f88a428df4163234dbb23ddb7fee8b8ec # main
4444
with:
4545
types: 'nodejs'
46+
omit-optional: 'true'
4647

4748
evaluate-policy:
4849
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)