Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
layers

GitHub Action

Licensebat

v2

Licensebat

layers

Licensebat

Validate the licenses of your project's dependencies by using Licensebat's open-source CLI

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Licensebat

uses: licensebat/licensebat-action@v2

Learn more about this action in licensebat/licensebat-action

Choose a version

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'