Check if all production dependencies of the project complies with the allowed licenses.
# .github/workflows/license-check.yml
on:
push:
paths:
- "**/package.json"
- "yarn.lock"
- "package-lock.json"
jobs:
license-check:
uses: lightbasenl/platforms/.github/workflows/lib-license-checker.yml@main
with:
# Inputs
INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
---|---|---|---|---|
exclude-packages | string | false | Semicolon separated list of dependencies to skip. |
No outputs.
No secrets.