Skip to content

Commit bbda5d9

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 76b0029 commit bbda5d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/dependency-scan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ jobs:
4040
YARN_ENABLE_IMMUTABLE_INSTALLS: 'false'
4141

4242
- name: Generate SBOM
43-
uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@8220ae5b6e56f7108d076da0e710dc4feca15101 # main
43+
uses: launchdarkly/gh-actions/actions/dependency-scan/generate-sbom@88b91f303c25af3a90c2f0a98dd75af64c3bb332 # skz/ignore-optional
4444
with:
4545
types: 'nodejs'
46+
omit-optional: 'true'
4647

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

0 commit comments

Comments
 (0)