ci: auto-regenerate files

This commit is contained in:
github-actions[bot]
2022-07-26 00:13:21 +00:00
parent 2359ad9bd7
commit 6699d7ecc2
8 changed files with 85 additions and 14 deletions

View File

@@ -14,7 +14,7 @@
<th nowrap="nowrap" align="center" title="🎟️ Follow-up of issues and pull requests">🎟️</th> <th nowrap="nowrap" align="center" title="🎟️ Follow-up of issues and pull requests">🎟️</th>
<th nowrap="nowrap" align="center" title="🎭 Comment reactions">🎭</th> <th nowrap="nowrap" align="center" title="🎭 Comment reactions">🎭</th>
<th nowrap="nowrap" align="center" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</th> <th nowrap="nowrap" align="center" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</th>
<th nowrap="nowrap" align="center" title="✨ Stargazers over last weeks">✨</th> <th nowrap="nowrap" align="center" title="✨ Stargazers">✨</th>
<th nowrap="nowrap" align="center" title="🗂️ GitHub projects">🗂️</th> <th nowrap="nowrap" align="center" title="🗂️ GitHub projects">🗂️</th>
<th nowrap="nowrap" align="center" title="♐ Random code snippet">♐</th> <th nowrap="nowrap" align="center" title="♐ Random code snippet">♐</th>
<th nowrap="nowrap" align="center" title="📰 Recent activity">📰</th> <th nowrap="nowrap" align="center" title="📰 Recent activity">📰</th>
@@ -212,7 +212,7 @@
<th nowrap="nowrap" align="center" title="🎟️ Follow-up of issues and pull requests">🎟️</th> <th nowrap="nowrap" align="center" title="🎟️ Follow-up of issues and pull requests">🎟️</th>
<th nowrap="nowrap" align="center" title="🎭 Comment reactions">🎭</th> <th nowrap="nowrap" align="center" title="🎭 Comment reactions">🎭</th>
<th nowrap="nowrap" align="center" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</th> <th nowrap="nowrap" align="center" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</th>
<th nowrap="nowrap" align="center" title="✨ Stargazers over last weeks">✨</th> <th nowrap="nowrap" align="center" title="✨ Stargazers">✨</th>
<th nowrap="nowrap" align="center" title="🗂️ GitHub projects">🗂️</th> <th nowrap="nowrap" align="center" title="🗂️ GitHub projects">🗂️</th>
<th nowrap="nowrap" align="center" title="♐ Random code snippet">♐</th> <th nowrap="nowrap" align="center" title="♐ Random code snippet">♐</th>
<th nowrap="nowrap" align="center" title="📰 Recent activity">📰</th> <th nowrap="nowrap" align="center" title="📰 Recent activity">📰</th>

View File

@@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</tr> </tr>
<tr> <tr>
<th colspan="2" align="center"> <th colspan="2" align="center">
<h3><a href="/README.md#-plugins">🧩 Customizable with 40 plugins and 273 options!</a></h3> <h3><a href="/README.md#-plugins">🧩 Customizable with 40 plugins and 276 options!</a></h3>
</th> </th>
</tr> </tr>
<tr> <tr>
@@ -104,7 +104,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</td> </td>
</tr> </tr>
<tr> <tr>
<th><a href="source/plugins/stargazers/README.md">✨ Stargazers over last weeks</a></th> <th><a href="source/plugins/stargazers/README.md">✨ Stargazers</a></th>
<th><a href="source/plugins/projects/README.md">🗂️ GitHub projects</a></th> <th><a href="source/plugins/projects/README.md">🗂️ GitHub projects</a></th>
</tr> </tr>
<tr> <tr>
@@ -169,7 +169,8 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</tr> </tr>
<tr> <tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.svg" alt=""></img> <details open><summary>Repositories and diff history</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.history.svg" alt=""></img></details>
<details><summary>Compact display in base plugin</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
<td align="center"> <td align="center">
@@ -440,7 +441,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [📓 Featured repositories <sub>`repositories`</sub>](/source/plugins/repositories/README.md) * [📓 Featured repositories <sub>`repositories`</sub>](/source/plugins/repositories/README.md)
* [🌇 GitHub Skyline <sub>`skyline`</sub>](/source/plugins/skyline/README.md) * [🌇 GitHub Skyline <sub>`skyline`</sub>](/source/plugins/skyline/README.md)
* [💕 GitHub Sponsors <sub>`sponsors`</sub>](/source/plugins/sponsors/README.md) * [💕 GitHub Sponsors <sub>`sponsors`</sub>](/source/plugins/sponsors/README.md)
* [✨ Stargazers over last weeks <sub>`stargazers`</sub>](/source/plugins/stargazers/README.md) * [✨ Stargazers <sub>`stargazers`</sub>](/source/plugins/stargazers/README.md)
* [💫 Star lists <sub>`starlists`</sub>](/source/plugins/starlists/README.md) * [💫 Star lists <sub>`starlists`</sub>](/source/plugins/starlists/README.md)
* [🌟 Recently starred repositories <sub>`stars`</sub>](/source/plugins/stars/README.md) * [🌟 Recently starred repositories <sub>`stars`</sub>](/source/plugins/stars/README.md)
* [💭 GitHub Community Support <sub>`support`</sub>](/source/plugins/support/README.md) * [💭 GitHub Community Support <sub>`support`</sub>](/source/plugins/support/README.md)

14
action.yml generated
View File

@@ -538,7 +538,7 @@ inputs:
default: <default-value> default: <default-value>
# ==================================================================================== # ====================================================================================
# ✨ Stargazers over last weeks # ✨ Stargazers
plugin_stargazers: plugin_stargazers:
description: Enable stargazers plugin description: Enable stargazers plugin
@@ -748,6 +748,18 @@ inputs:
description: Skipped repositories description: Skipped repositories
default: <default-value> default: <default-value>
plugin_lines_sections:
description: Displayed sections
default: <default-value>
plugin_lines_repositories_limit:
description: Display limit
default: <default-value>
plugin_lines_history_limit:
description: Years to display
default: <default-value>
# ==================================================================================== # ====================================================================================
# 🧮 Repositories traffic # 🧮 Repositories traffic

View File

@@ -29,7 +29,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [📓 Featured repositories <sub>`repositories`</sub>](/source/plugins/repositories/README.md) * [📓 Featured repositories <sub>`repositories`</sub>](/source/plugins/repositories/README.md)
* [🌇 GitHub Skyline <sub>`skyline`</sub>](/source/plugins/skyline/README.md) * [🌇 GitHub Skyline <sub>`skyline`</sub>](/source/plugins/skyline/README.md)
* [💕 GitHub Sponsors <sub>`sponsors`</sub>](/source/plugins/sponsors/README.md) * [💕 GitHub Sponsors <sub>`sponsors`</sub>](/source/plugins/sponsors/README.md)
* [✨ Stargazers over last weeks <sub>`stargazers`</sub>](/source/plugins/stargazers/README.md) * [✨ Stargazers <sub>`stargazers`</sub>](/source/plugins/stargazers/README.md)
* [💫 Star lists <sub>`starlists`</sub>](/source/plugins/starlists/README.md) * [💫 Star lists <sub>`starlists`</sub>](/source/plugins/starlists/README.md)
* [🌟 Recently starred repositories <sub>`stars`</sub>](/source/plugins/stars/README.md) * [🌟 Recently starred repositories <sub>`stars`</sub>](/source/plugins/stars/README.md)
* [💭 GitHub Community Support <sub>`support`</sub>](/source/plugins/support/README.md) * [💭 GitHub Community Support <sub>`support`</sub>](/source/plugins/support/README.md)

View File

@@ -16,7 +16,8 @@
</tr> </tr>
<tr> <tr>
<td colspan="2" align="center"> <td colspan="2" align="center">
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.svg" alt=""></img> <details open><summary>Repositories and diff history</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.history.svg" alt=""></img></details>
<details><summary>Compact display in base plugin</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.lines.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr> </tr>
@@ -51,6 +52,50 @@
<i>(comma-separated)</i> <i>(comma-separated)</i>
<br></td> <br></td>
</tr> </tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_lines_sections</code></h4></td>
<td rowspan="2"><p>Displayed sections</p>
<ul>
<li><code>base</code> will display the total lines added and removed in <code>base.repositories</code> section</li>
<li><code>repositories</code> will display repositories with the most lines added and removed</li>
<li><code>history</code> will display a graph displaying lines added and removed over time</li>
</ul>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
<b>type:</b> <code>array</code>
<i>(comma-separated)</i>
<br>
<b>default:</b> base<br>
<b>allowed values:</b><ul><li>base</li><li>repositories</li><li>history</li></ul></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_lines_repositories_limit</code></h4></td>
<td rowspan="2"><p>Display limit</p>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
<b>type:</b> <code>number</code>
<i>(0 ≤
𝑥)</i>
<br>
<b>default:</b> 4<br></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_lines_history_limit</code></h4></td>
<td rowspan="2"><p>Years to display</p>
<p>Will display the last <code>n</code> years, relative to current year</p>
<img width="900" height="1" alt=""></td>
</tr>
<tr>
<td nowrap="nowrap">✨ On <code>master</code>/<code>main</code><br>
<b>type:</b> <code>number</code>
<br>
<b>zero behaviour:</b> disable</br>
<b>default:</b> 1<br></td>
</tr>
</table> </table>
<!--/options--> <!--/options-->
@@ -58,7 +103,7 @@
<!--examples--> <!--examples-->
```yaml ```yaml
name: Lines of code changed name: Compact display in base plugin
uses: lowlighter/metrics@latest uses: lowlighter/metrics@latest
with: with:
filename: metrics.plugin.lines.svg filename: metrics.plugin.lines.svg
@@ -66,5 +111,18 @@ with:
base: repositories base: repositories
plugin_lines: yes plugin_lines: yes
```
```yaml
name: Repositories and diff history
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.lines.history.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_lines: yes
plugin_lines_sections: repositories, history
plugin_lines_repositories_limit: 2
plugin_lines_history_limit: 1
``` ```
<!--/examples--> <!--/examples-->

View File

@@ -1,8 +1,8 @@
<!--header--> <!--header-->
<table> <table>
<tr><td colspan="2"><a href="/README.md#-plugins">← Back to plugins index</a></td></tr> <tr><td colspan="2"><a href="/README.md#-plugins">← Back to plugins index</a></td></tr>
<tr><th colspan="2"><h3>✨ Stargazers over last weeks</h3></th></tr> <tr><th colspan="2"><h3>✨ Stargazers</h3></th></tr>
<tr><td colspan="2" align="center"><p>This plugin displays stargazers evolution across affiliated repositories over the last two weeks.</p> <tr><td colspan="2" align="center"><p>This plugin displays stargazers evolution across affiliated repositories.</p>
</td></tr> </td></tr>
<tr> <tr>
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th> <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>

View File

@@ -7,7 +7,7 @@ This is also the default template.</p>
</td></tr> </td></tr>
<tr> <tr>
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th> <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
<td><a href="/source/plugins/achievements/README.md" title="🏆 Achievements">🏆</a> <a href="/source/plugins/activity/README.md" title="📰 Recent activity">📰</a> <a href="/source/plugins/anilist/README.md" title="🌸 Anilist watch list and reading list">🌸</a> <a href="/source/plugins/calendar/README.md" title="📆 Commit calendar">📆</a> <a href="/source/plugins/code/README.md" title="♐ Random code snippet">♐</a> <a href="/source/plugins/fortune/README.md" title="🥠 Fortune">🥠</a> <a href="/source/plugins/nightscout/README.md" title="💉 Nightscout">💉</a> <a href="/source/plugins/poopmap/README.md" title="💩 PoopMap plugin">💩</a> <a href="/source/plugins/screenshot/README.md" title="📸 Website screenshot">📸</a> <a href="/source/plugins/stock/README.md" title="💹 Stock prices">💹</a> <a href="/source/plugins/discussions/README.md" title="💬 Discussions">💬</a> <a href="/source/plugins/followup/README.md" title="🎟️ Follow-up of issues and pull requests">🎟️</a> <a href="/source/plugins/gists/README.md" title="🎫 Gists">🎫</a> <a href="/source/plugins/habits/README.md" title="💡 Coding habits and activity">💡</a> <a href="/source/plugins/introduction/README.md" title="🙋 Introduction">🙋</a> <a href="/source/plugins/isocalendar/README.md" title="📅 Isometric commit calendar">📅</a> <a href="/source/plugins/languages/README.md" title="🈷️ Languages activity">🈷️</a> <a href="/source/plugins/lines/README.md" title="👨‍💻 Lines of code changed">👨‍💻</a> <a href="/source/plugins/music/README.md" title="🎼 Music activity and suggestions">🎼</a> <a href="/source/plugins/notable/README.md" title="🎩 Notable contributions">🎩</a> <a href="/source/plugins/pagespeed/README.md" title="⏱️ Google PageSpeed">⏱️</a> <a href="/source/plugins/people/README.md" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</a> <a href="/source/plugins/posts/README.md" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/projects/README.md" title="🗂️ GitHub projects">🗂️</a> <a href="/source/plugins/reactions/README.md" title="🎭 Comment reactions">🎭</a> <a href="/source/plugins/repositories/README.md" title="📓 Featured repositories">📓</a> <a href="/source/plugins/rss/README.md" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/skyline/README.md" title="🌇 GitHub Skyline">🌇</a> <a href="/source/plugins/sponsors/README.md" title="💕 GitHub Sponsors">💕</a> <a href="/source/plugins/stackoverflow/README.md" title="🗨️ Stack Overflow">🗨️</a> <a href="/source/plugins/stargazers/README.md" title="✨ Stargazers over last weeks">✨</a> <a href="/source/plugins/starlists/README.md" title="💫 Star lists">💫</a> <a href="/source/plugins/stars/README.md" title="🌟 Recently starred repositories">🌟</a> <a href="/source/plugins/support/README.md" title="💭 GitHub Community Support">💭</a> <a href="/source/plugins/topics/README.md" title="📌 Starred topics">📌</a> <a href="/source/plugins/traffic/README.md" title="🧮 Repositories traffic">🧮</a> <a href="/source/plugins/tweets/README.md" title="🐤 Latest tweets">🐤</a> <a href="/source/plugins/wakatime/README.md" title="⏰ WakaTime">⏰</a></td> <td><a href="/source/plugins/achievements/README.md" title="🏆 Achievements">🏆</a> <a href="/source/plugins/activity/README.md" title="📰 Recent activity">📰</a> <a href="/source/plugins/anilist/README.md" title="🌸 Anilist watch list and reading list">🌸</a> <a href="/source/plugins/calendar/README.md" title="📆 Commit calendar">📆</a> <a href="/source/plugins/code/README.md" title="♐ Random code snippet">♐</a> <a href="/source/plugins/fortune/README.md" title="🥠 Fortune">🥠</a> <a href="/source/plugins/nightscout/README.md" title="💉 Nightscout">💉</a> <a href="/source/plugins/poopmap/README.md" title="💩 PoopMap plugin">💩</a> <a href="/source/plugins/screenshot/README.md" title="📸 Website screenshot">📸</a> <a href="/source/plugins/stock/README.md" title="💹 Stock prices">💹</a> <a href="/source/plugins/discussions/README.md" title="💬 Discussions">💬</a> <a href="/source/plugins/followup/README.md" title="🎟️ Follow-up of issues and pull requests">🎟️</a> <a href="/source/plugins/gists/README.md" title="🎫 Gists">🎫</a> <a href="/source/plugins/habits/README.md" title="💡 Coding habits and activity">💡</a> <a href="/source/plugins/introduction/README.md" title="🙋 Introduction">🙋</a> <a href="/source/plugins/isocalendar/README.md" title="📅 Isometric commit calendar">📅</a> <a href="/source/plugins/languages/README.md" title="🈷️ Languages activity">🈷️</a> <a href="/source/plugins/lines/README.md" title="👨‍💻 Lines of code changed">👨‍💻</a> <a href="/source/plugins/music/README.md" title="🎼 Music activity and suggestions">🎼</a> <a href="/source/plugins/notable/README.md" title="🎩 Notable contributions">🎩</a> <a href="/source/plugins/pagespeed/README.md" title="⏱️ Google PageSpeed">⏱️</a> <a href="/source/plugins/people/README.md" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</a> <a href="/source/plugins/posts/README.md" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/projects/README.md" title="🗂️ GitHub projects">🗂️</a> <a href="/source/plugins/reactions/README.md" title="🎭 Comment reactions">🎭</a> <a href="/source/plugins/repositories/README.md" title="📓 Featured repositories">📓</a> <a href="/source/plugins/rss/README.md" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/skyline/README.md" title="🌇 GitHub Skyline">🌇</a> <a href="/source/plugins/sponsors/README.md" title="💕 GitHub Sponsors">💕</a> <a href="/source/plugins/stackoverflow/README.md" title="🗨️ Stack Overflow">🗨️</a> <a href="/source/plugins/stargazers/README.md" title="✨ Stargazers">✨</a> <a href="/source/plugins/starlists/README.md" title="💫 Star lists">💫</a> <a href="/source/plugins/stars/README.md" title="🌟 Recently starred repositories">🌟</a> <a href="/source/plugins/support/README.md" title="💭 GitHub Community Support">💭</a> <a href="/source/plugins/topics/README.md" title="📌 Starred topics">📌</a> <a href="/source/plugins/traffic/README.md" title="🧮 Repositories traffic">🧮</a> <a href="/source/plugins/tweets/README.md" title="🐤 Latest tweets">🐤</a> <a href="/source/plugins/wakatime/README.md" title="⏰ WakaTime">⏰</a></td>
</tr> </tr>
<tr> <tr>
<td><code>👤 Users</code> <code>👥 Organizations</code></td> <td><code>👤 Users</code> <code>👥 Organizations</code></td>

View File

@@ -6,7 +6,7 @@
</td></tr> </td></tr>
<tr> <tr>
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th> <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
<td><a href="/source/plugins/activity/README.md" title="📰 Recent activity">📰</a> <a href="/source/plugins/screenshot/README.md" title="📸 Website screenshot">📸</a> <a href="/source/plugins/stock/README.md" title="💹 Stock prices">💹</a> <a href="/source/plugins/contributors/README.md" title="🏅 Repository contributors">🏅</a> <a href="/source/plugins/followup/README.md" title="🎟️ Follow-up of issues and pull requests">🎟️</a> <a href="/source/plugins/introduction/README.md" title="🙋 Introduction">🙋</a> <a href="/source/plugins/languages/README.md" title="🈷️ Languages activity">🈷️</a> <a href="/source/plugins/licenses/README.md" title="📜 Repository licenses">📜</a> <a href="/source/plugins/lines/README.md" title="👨‍💻 Lines of code changed">👨‍💻</a> <a href="/source/plugins/pagespeed/README.md" title="⏱️ Google PageSpeed">⏱️</a> <a href="/source/plugins/people/README.md" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</a> <a href="/source/plugins/posts/README.md" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/projects/README.md" title="🗂️ GitHub projects">🗂️</a> <a href="/source/plugins/rss/README.md" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/sponsors/README.md" title="💕 GitHub Sponsors">💕</a> <a href="/source/plugins/stargazers/README.md" title="✨ Stargazers over last weeks">✨</a> <a href="/source/plugins/traffic/README.md" title="🧮 Repositories traffic">🧮</a></td> <td><a href="/source/plugins/activity/README.md" title="📰 Recent activity">📰</a> <a href="/source/plugins/screenshot/README.md" title="📸 Website screenshot">📸</a> <a href="/source/plugins/stock/README.md" title="💹 Stock prices">💹</a> <a href="/source/plugins/contributors/README.md" title="🏅 Repository contributors">🏅</a> <a href="/source/plugins/followup/README.md" title="🎟️ Follow-up of issues and pull requests">🎟️</a> <a href="/source/plugins/introduction/README.md" title="🙋 Introduction">🙋</a> <a href="/source/plugins/languages/README.md" title="🈷️ Languages activity">🈷️</a> <a href="/source/plugins/licenses/README.md" title="📜 Repository licenses">📜</a> <a href="/source/plugins/lines/README.md" title="👨‍💻 Lines of code changed">👨‍💻</a> <a href="/source/plugins/pagespeed/README.md" title="⏱️ Google PageSpeed">⏱️</a> <a href="/source/plugins/people/README.md" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</a> <a href="/source/plugins/posts/README.md" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/projects/README.md" title="🗂️ GitHub projects">🗂️</a> <a href="/source/plugins/rss/README.md" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/sponsors/README.md" title="💕 GitHub Sponsors">💕</a> <a href="/source/plugins/stargazers/README.md" title="✨ Stargazers">✨</a> <a href="/source/plugins/traffic/README.md" title="🧮 Repositories traffic">🧮</a></td>
</tr> </tr>
<tr> <tr>
<td><code>📓 Repositories</code></td> <td><code>📓 Repositories</code></td>