Skip to content

Latest commit

History

History
38 lines (30 loc) 路 1.44 KB

README.md

File metadata and controls

38 lines (30 loc) 路 1.44 KB

馃摐 Repository licenses

鈿狅笍 This is NOT legal advice, use at your own risk

馃挘 Do NOT enable this plugin on public web instances (plugin allows raw commands injection)

The licenses plugin lets you display license informations like permissions, limitations and conditions along with additional metrics about dependencies.

With licenses ratio

Project must be setup with dependencies using plugin_licenses_setup option (for example, npm ci for a NodeJS project).

Dependencies will be analyzed with github/licensed and compared against GitHub known licenses.

鈩癸笍 Examples workflows

鉃★笍 Available options for this plugin

- uses: lowlighter/metrics@latest
  with:
    # ... other options
    template: repository
    user: repository-owner
    repo: repository-name
    plugin_licenses: yes
    plugin_licenses_setup: npm ci       # Command to setup target repository
    plugin_licenses_ratio: yes          # Display used licenses ratio
    plugin_licenses_legal: yes          # Display permissions, limitations and conditions