Skip to content

jmservera/license-finder-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

approved-dependencies

A comma separated list of dependencies that are approved

approved-dependencies: jquery,bootstrap

report-name

Required The name of the report to be generated.

Default: license_finder_report.xml

base-path

Required If it is not in the root workspace parth, the base path with the code to review.

Default: ${{ github.workspace }}

Usage

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

This action becomes useful when combined 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
    approved-dependencies: jquery,bootstrap
- 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

About

A GitHub Action for running Pivotal License Finder

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages