- name: Licenses and permissions
  with:
    filename: metrics.plugin.licenses.svg
    token: ${{ secrets.METRICS_TOKEN }}
    base: ""
    template: repository
    repo: metrics
    plugin_licenses: yes
    plugin_licenses_setup: npm ci
  test:
    timeout: 1800000
    modes:
      - action

- name: Licenses with open-source ratio graphs
  uses: lowlighter/metrics@latest
  with:
    filename: metrics.plugin.licenses.ratio.svg
    token: ${{ secrets.METRICS_TOKEN }}
    base: ""
    template: repository
    repo: metrics
    plugin_licenses: yes
    plugin_licenses_setup: npm ci
    plugin_licenses_legal: no
    plugin_licenses_ratio: yes
  test:
    skip: true