name: "📜 Repository licenses"
category: github
description: This plugin display repository license informations like permissions, limitations and conditions along with additional stats about dependencies.
examples:
  +permissions, limitations and conditions: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.licenses.svg
  +licenses overview: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.licenses.ratio.svg
index: 4
supports:
  - repository
scopes:
  - public_access
inputs:

  plugin_licenses:
    description: Enable licenses plugin
    type: boolean
    default: no
    extras: yes

  plugin_licenses_setup:
    description: Setup command
    type: string
    default: ""
    example: npm ci

  plugin_licenses_ratio:
    description: Display used licenses ratio
    type: boolean
    default: no

  plugin_licenses_legal:
    description: Display permissions, limitations and conditions about licenses
    type: boolean
    default: yes