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

GitHub Action

License Finder Scan

v0.1.2-alpha Pre-release

License Finder Scan

file-text

License Finder Scan

Runs license_finder on the repository

Installation

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

              

- name: License Finder Scan

uses: jmservera/[email protected]

Learn more about this action in jmservera/license-finder-action

Choose a version

License Finder Action

A GitHub Action for running Pivotal License Finder

Inputs

permitted-licenses

A comma separated list of licenses that are permitted. For example:

permitted-licenses: MIT,Apache-2.0

report-name

Required The name of the report to be generated.

Default: license_finder_report.xml

Usage

uses: jmservera/[email protected]
with:
  permitted-licenses: MIT,Apache-2.0

This action becomes useful when you combine it with some other actions like the upload artifact action and the Publish unit test result action

- name: 'License Scan'
  uses: jmservera/[email protected]
  with:
    permitted-licenses: MIT,Apache-2.0
- name: Publish Test Results
  uses: EnricoMi/[email protected]
  if: always()
  with:
    junit_files: "license_finder_report.xml"
- name: 'Upload Dependency Review Report'
  if: always()
  uses: actions/upload-artifact@v2
  with:
    name: license-finder-report
    path: license_finder_report.xml