Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1020 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 1020 Bytes

Licensebat GitHub Action

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.

job summary

Inputs

dependency-file-path

Required The path of the dependency manifest file (package-lock.json, Cargo.lock, pubspec.lock).

licrc-path

Optional .licrc file path. Default ".licrc".

Learn more about the .licrc file.

Example usage

- name: licensebat
  uses: licensebat/licensebat-action@v1
    with:
    dependency-file-path: 'package-lock.json'