This GitHub action allows you to use Licensebat to check that the licenses of your project's dependencies are valid according to your licensing policy.
The action will fail if it finds an invalid license.
Note that this action uses job summaries to report the results of the licenses check.
Required The path of the dependency manifest file (package-lock.json, Cargo.lock, pubspec.lock).
Optional .licrc
file path. Default ".licrc"
.
Learn more about the .licrc file.
- name: licensebat
uses: licensebat/licensebat-action@v1
with:
dependency-file-path: 'package-lock.json'