Skip to content

Dependency review fails with license errors on docusaurus transitive dependencies #1167

@WilliamBerryiii

Description

@WilliamBerryiii

Problem

The Dependency Review workflow fails on release-please PR #2256 (chore(main): release hve-core 3.2.1) with five license violations from docusaurus transitive dependencies.

Failing packages

Package Version License expression Root cause
dompurify 3.3.2 Apache-2.0 OR GPL-1.0-only OR GPL-2.0-only OR MPL-2.0 OR MS-PL Compound SPDX with copyleft options; distributed license is permissive
lunr-languages 1.14.0 MPL-1.1 Weak copyleft, acceptable for bundled documentation tooling
path-is-inside 1.0.2 MIT AND WTFPL WTFPL not in global allow-list
unicode-match-property-value-ecmascript 2.2.1 LicenseRef-scancode-unicode AND MIT Unicode license not in global allow-list
unicode-property-aliases-ecmascript 2.2.0 LicenseRef-scancode-unicode AND MIT Unicode license not in global allow-list

Failing run

Fix

Expand allow-lists in .github/workflows/dependency-review.yml:

  1. Add WTFPL and LicenseRef-scancode-unicode to global allow-licenses (permissive licenses).
  2. Add pkg:npm/dompurify and pkg:npm/lunr-languages to allow-dependencies-licenses (packages with compound SPDX expressions containing copyleft options where the distributed license is permissive).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingworkflowsGitHub Actions workflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions