name: "📓 Repositories"
category: github
description: |
  This plugin displays a list of chosen featured repositories.

  It is mostly intended for images that will be used outside of GitHub, since it is already possible to [pin repositories](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/pinning-items-to-your-profile) on GitHub.

  > ⚠️ People will not be able to click on it due to limitations of using SVG inside `<img>` tags.
examples:
  +featured: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.repositories.svg
  pinned: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.repositories.pinned.svg
index: 20
supports:
  - user
  - organization
scopes:
  - public_access
inputs:

  plugin_repositories:
    description: Enable repositories plugin
    type: boolean
    default: no

  plugin_repositories_featured:
    description: |
      List of featured repositories

      If no owner is specified, it will implicitly use the current account login
    type: array
    format: comma-separated
    default: ""
    example: lowlighter/metrics
    preset: no

  plugin_repositories_pinned:
    description: |
      Display pinned repositories
    type: number
    default: 0
    min: 0
    max: 6
