deps/license-check/any
Dependency licenses are checked against an allowlist
The stack-neutral implementation of deps/license-check: it checks stacks without an implementation of their own and repositories where no stack is detected, and its satisfiers count for every stack.
| Severity | info |
| Tiers | 1 |
| Stacks | any |
| Scope | each |
| Kind | outcome |
| Source | library v0.8.0 |
| Selected by | fleetlint-recommended@v0.8.0 |
Requirement
A task-runner recipe or a CI step checks licenses with a stack-neutral tool: osv-scanner --licenses=..., trivy with the license scanner, ScanCode (--license), FOSSA, ORT evaluate, or GitHub dependency review configured with allow-licenses/deny-licenses (or a config file). Comments, echo lines and install-only lines do not count.
Why
A dependency under an incompatible license is found cheaply before it is merged and expensively after a release.
Applies when
repo.stacks.size() > 0Parameters
runners:[../Makefile ../justfile ../Justfile ../Taskfile.yml ../Taskfile.yaml ../../Makefile ../../justfile ../../Justfile ../../Taskfile.yml ../../Taskfile.yaml ../../../Makefile ../../../justfile ../../../Justfile ../../../Taskfile.yml ../../../Taskfile.yaml]skip:^\s*[@+-]*\s*(\{\{[^}]*\}\}\s*|\$[({][A-Za-z_]+[)}]\s*)?(#|//|echo\b|printf\b|(sudo\s+)?(go (install|get)|cargo b?install|pipx? install|pip3 install|python3? -m pip install|uv (tool |pip )?(install|add)|(npm|pnpm|yarn|bun) (i|install|add|global add)|gem install|bundle add|brew install|dotnet tool (install|update)|composer (global )?require|apt(-get)? install|curl|wget)\b[^;&]*$)
Fix
This implementation has no fix of its own: see deps/license-check.
A finding that names no file points at the task runner’s file, or Makefile when there is none.
Sources
- https://openchainproject.org/ (standard)
- https://fleetlint.org/baseline/#dependencies (convention)
- https://google.github.io/osv-scanner/usage/license-scanning/ (spec)
Generated by fleetlint docs from catalog v0.8.0.