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

v1

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@v1

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 the 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.

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".

Example usage

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