source/plugins/repositories/README.md
</td>
<b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_repositories_featured</code></h4></td> <td rowspan="2"><p>Featured repositories</p> <p>Current <a href="/source/plugins/core/README.md#user"><code>user</code></a> will be used when no owner is specified</p> </td> </tr> <tr> <td nowrap="nowrap">⏯️ Cannot be preset<b>type:</b> <code>array</code> <i>(comma-separated)</i>
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_repositories_pinned</code></h4></td> <td rowspan="2"><p>Pinned repositories</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(0 ≤ 𝑥 ≤ 6)</i><b>default:</b> 0
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_repositories_starred</code></h4></td> <td rowspan="2"><p>Featured most starred repositories</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(0 ≤ 𝑥 ≤ 100)</i><b>default:</b> 0
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_repositories_random</code></h4></td> <td rowspan="2"><p>Featured random repositories</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(0 ≤ 𝑥 ≤ 100)</i><b>default:</b> 0
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_repositories_order</code></h4></td> <td rowspan="2"><p>Featured repositories display order</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>array</code><b>default:</b> featured, pinned, starred, random
<b>allowed values:</b><ul><li>featured</li><li>pinned</li><li>starred</li><li>random</li></ul></td>
</tr> <tr> <td nowrap="nowrap"><h4><code>plugin_repositories_forks</code></h4></td> <td rowspan="2"><p>Include repositories forks</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>boolean</code><b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_repositories_affiliations</code></h4></td> <td rowspan="2"><p>Repositories affiliations</p> <ul> <li><code>owner</code>: owned repositories</li> <li><code>collaborator</code>: repositories with push access</li> <li><code>organization_member</code>: repositories from an organization where user is a member</li> </ul> <p>Set to <code>""</code> to disable and fetch all repositories related to given account.</p> <p>This option changes which repositories will be fetched by <a href="/source/plugins/projects/README.md#plugin_repositories_starred"><code>plugin_repositories_starred</code></a> and <a href="/source/plugins/projects/README.md#plugin_repositories_random"><code>plugin_repositories_random</code></a> options</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>array</code> <i>(comma-separated)</i><b>default:</b> owner
<b>allowed values:</b><ul><li>owner</li><li>collaborator</li><li>organization_member</li></ul></td>
</tr> </table> <!--/options-->name: Featured repositories
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.repositories.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_repositories: yes
plugin_repositories_featured: lowlighter/metrics
name: Pinned repositories
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.repositories.pinned.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_repositories: yes
plugin_repositories_pinned: 2