source/plugins/activity/README.md
</td>
<b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_activity_limit</code></h4></td> <td rowspan="2"><p>Display limit</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(1 ≤ 𝑥 ≤ 1000)</i><b>default:</b> 5
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_activity_load</code></h4></td> <td rowspan="2"><p>Events to load</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(100 ≤ 𝑥 ≤ 1000)</i><b>default:</b> 300
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_activity_days</code></h4></td> <td rowspan="2"><p>Events maximum age</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>number</code> <i>(0 ≤ 𝑥 ≤ 365)</i><b>zero behaviour:</b> disable</br> <b>default:</b> 14
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_activity_visibility</code></h4></td> <td rowspan="2"><p>Events visibility</p> <p>Can be used to toggle private activity visibility when using a token with <code>repo</code> scope</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>string</code><b>default:</b> all
<b>allowed values:</b><ul><li>public</li><li>all</li></ul></td>
</tr> <tr> <td nowrap="nowrap"><h4><code>plugin_activity_timestamps</code></h4></td> <td rowspan="2"><p>Events timestamps</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_activity_skipped</code></h4></td> <td rowspan="2"><p>Skipped repositories</p> </td> </tr> <tr> <td nowrap="nowrap">⏩ Inherits <code>repositories_skipped</code><b>type:</b> <code>array</code> <i>(newline-separated)</i>
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_activity_ignored</code></h4></td> <td rowspan="2"><p>Ignored users</p> <p>Can be used to ignore bots activity</p> </td> </tr> <tr> <td nowrap="nowrap">⏩ Inherits <code>users_ignored</code><b>type:</b> <code>array</code> <i>(comma-separated)</i>
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_activity_filter</code></h4></td> <td rowspan="2"><p>Events types</p> <p>These are fetched from <a href="https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/github-event-types">GitHub events API</a> and the following types are currently supported:</p> <ul> <li><code>push</code>: Push of commits</li> <li><code>issue</code>: Opening/Reopening/Closing of issues</li> <li><code>pr</code>: Opening/Closing of pull requests</li> <li><code>ref/create</code>: Creation of git tags or git branches</li> <li><code>ref/delete</code>: Deletion of git tags or git branches</li> <li><code>release</code>: Publication of new releases</li> <li><code>review</code>: Review of pull requests</li> <li><code>comment</code>: Comments on commits, issues and pull requests</li> <li><code>wiki</code>: Changes of wiki pages</li> <li><code>fork</code>: Forking of repositories</li> <li><code>star</code>: Starring of repositories</li> <li><code>public</code>: Repositories made public</li> <li><code>member</code>: Addition of new collaborator in repository</li> </ul> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>array</code> <i>(comma-separated)</i><b>default:</b> all
<b>allowed values:</b><ul><li>all</li><li>comment</li><li>ref/create</li><li>ref/delete</li><li>release</li><li>push</li><li>issue</li><li>pr</li><li>review</li><li>wiki</li><li>fork</li><li>star</li><li>member</li><li>public</li></ul></td>
</tr> </table> <!--/options-->name: Recent activity
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.activity.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_activity: yes
plugin_activity_limit: 5
plugin_activity_days: 0
plugin_activity_filter: issue, pr, release, fork, review, ref/create