A GitHub Action for running Pivotal License Finder
A comma separated list of licenses that are permitted. For example:
permitted-licenses: MIT,Apache-2.0
A comma separated list of dependencies that are approved
approved-dependencies: jquery,bootstrap
Required The name of the report to be generated.
Default: license_finder_report.xml
Required If it is not in the root workspace parth, the base path with the code to review.
Default: ${{ github.workspace }}
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