ci: auto-regenerate files

This commit is contained in:
github-actions[bot]
2023-01-17 06:30:11 +00:00
parent 05e185a15d
commit 8b34b0ab93
8 changed files with 150 additions and 29 deletions

View File

@@ -30,6 +30,7 @@
<th nowrap="nowrap" align="center" title="🎫 Gists">🎫</th> <th nowrap="nowrap" align="center" title="🎫 Gists">🎫</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="🌇 GitHub Skyline">🌇</th> <th nowrap="nowrap" align="center" title="🌇 GitHub Skyline">🌇</th>
<th nowrap="nowrap" align="center" title="💝 GitHub Sponsorships">💝</th>
<th nowrap="nowrap" align="center" title="💭 GitHub Community Support">💭</th> <th nowrap="nowrap" align="center" title="💭 GitHub Community Support">💭</th>
<th nowrap="nowrap" align="center" title="⏱️ Google PageSpeed">⏱️</th> <th nowrap="nowrap" align="center" title="⏱️ Google PageSpeed">⏱️</th>
<th nowrap="nowrap" align="center" title="🐤 Latest tweets">🐤</th> <th nowrap="nowrap" align="center" title="🐤 Latest tweets">🐤</th>
@@ -70,6 +71,7 @@
<td nowrap="nowrap" align="center" data-plugin="gists">✔️</td> <td nowrap="nowrap" align="center" data-plugin="gists">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td> <td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">✔️</td> <td nowrap="nowrap" align="center" data-plugin="skyline">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="support">✔️</td> <td nowrap="nowrap" align="center" data-plugin="support">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td> <td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td> <td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td>
@@ -110,6 +112,7 @@
<td nowrap="nowrap" align="center" data-plugin="gists">❌</td> <td nowrap="nowrap" align="center" data-plugin="gists">❌</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td> <td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">❌</td> <td nowrap="nowrap" align="center" data-plugin="skyline">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="support">❌</td> <td nowrap="nowrap" align="center" data-plugin="support">❌</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td> <td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">❌</td> <td nowrap="nowrap" align="center" data-plugin="tweets">❌</td>
@@ -150,6 +153,7 @@
<td nowrap="nowrap" align="center" data-plugin="gists">✔️</td> <td nowrap="nowrap" align="center" data-plugin="gists">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="projects">❌</td> <td nowrap="nowrap" align="center" data-plugin="projects">❌</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">❌</td> <td nowrap="nowrap" align="center" data-plugin="skyline">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="support">❌</td> <td nowrap="nowrap" align="center" data-plugin="support">❌</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td> <td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">❌</td> <td nowrap="nowrap" align="center" data-plugin="tweets">❌</td>
@@ -190,6 +194,7 @@
<td nowrap="nowrap" align="center" data-plugin="gists">✓</td> <td nowrap="nowrap" align="center" data-plugin="gists">✓</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✓</td> <td nowrap="nowrap" align="center" data-plugin="projects">✓</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">✓</td> <td nowrap="nowrap" align="center" data-plugin="skyline">✓</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✓</td>
<td nowrap="nowrap" align="center" data-plugin="support">✓</td> <td nowrap="nowrap" align="center" data-plugin="support">✓</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✓</td> <td nowrap="nowrap" align="center" data-plugin="pagespeed">✓</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td> <td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td>
@@ -202,7 +207,7 @@
<td nowrap="nowrap" align="center" data-plugin="leetcode">✓</td> <td nowrap="nowrap" align="center" data-plugin="leetcode">✓</td>
</tr> </tr>
<tr> <tr>
<td colspan="37"></td> <td colspan="38"></td>
</tr> </tr>
<tr> <tr>
<th nowrap="nowrap">Mode/Plugin</th> <th nowrap="nowrap">Mode/Plugin</th>
@@ -233,6 +238,7 @@
<th nowrap="nowrap" align="center" title="🎫 Gists">🎫</th> <th nowrap="nowrap" align="center" title="🎫 Gists">🎫</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="🌇 GitHub Skyline">🌇</th> <th nowrap="nowrap" align="center" title="🌇 GitHub Skyline">🌇</th>
<th nowrap="nowrap" align="center" title="💝 GitHub Sponsorships">💝</th>
<th nowrap="nowrap" align="center" title="💭 GitHub Community Support">💭</th> <th nowrap="nowrap" align="center" title="💭 GitHub Community Support">💭</th>
<th nowrap="nowrap" align="center" title="⏱️ Google PageSpeed">⏱️</th> <th nowrap="nowrap" align="center" title="⏱️ Google PageSpeed">⏱️</th>
<th nowrap="nowrap" align="center" title="🐤 Latest tweets">🐤</th> <th nowrap="nowrap" align="center" title="🐤 Latest tweets">🐤</th>
@@ -273,6 +279,7 @@
<td nowrap="nowrap" align="center" data-plugin="gists">✔️</td> <td nowrap="nowrap" align="center" data-plugin="gists">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td> <td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">✔️</td> <td nowrap="nowrap" align="center" data-plugin="skyline">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="support">✔️</td> <td nowrap="nowrap" align="center" data-plugin="support">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td> <td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td> <td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td>
@@ -313,6 +320,7 @@
<td nowrap="nowrap" align="center" data-plugin="gists">❌</td> <td nowrap="nowrap" align="center" data-plugin="gists">❌</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td> <td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">❌</td> <td nowrap="nowrap" align="center" data-plugin="skyline">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="support">❌</td> <td nowrap="nowrap" align="center" data-plugin="support">❌</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td> <td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td> <td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td>
@@ -353,6 +361,7 @@
<td nowrap="nowrap" align="center" data-plugin="gists">❌</td> <td nowrap="nowrap" align="center" data-plugin="gists">❌</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td> <td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">❌</td> <td nowrap="nowrap" align="center" data-plugin="skyline">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="support">❌</td> <td nowrap="nowrap" align="center" data-plugin="support">❌</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td> <td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">❌</td> <td nowrap="nowrap" align="center" data-plugin="tweets">❌</td>

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 43 plugins and 311 options!</a></h3> <h3><a href="/README.md#-plugins">🧩 Customizable with 44 plugins and 314 options!</a></h3>
</th> </th>
</tr> </tr>
<tr> <tr>
@@ -227,78 +227,81 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</td> </td>
</tr> </tr>
<tr> <tr>
<th><a href="source/plugins/sponsorships/README.md">💝 GitHub Sponsorships</a></th>
<th><a href="source/plugins/pagespeed/README.md">⏱️ Google PageSpeed</a></th> <th><a href="source/plugins/pagespeed/README.md">⏱️ Google PageSpeed</a></th>
<th><a href="source/plugins/tweets/README.md">🐤 Latest tweets</a></th>
</tr> </tr>
<tr> <tr>
<td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.sponsorships.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
<td align="center"> <td align="center">
<details open><summary>PageSpeed scores</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.pagespeed.svg" alt=""></img></details> <details open><summary>PageSpeed scores</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.pagespeed.svg" alt=""></img></details>
<details><summary>PageSpeed scores with detailed report</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.pagespeed.detailed.svg" alt=""></img></details> <details><summary>PageSpeed scores with detailed report</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.pagespeed.detailed.svg" alt=""></img></details>
<details><summary>PageSpeed scores with a website screenshot</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.pagespeed.screenshot.svg" alt=""></img></details> <details><summary>PageSpeed scores with a website screenshot</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.pagespeed.screenshot.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr>
<tr>
<th><a href="source/plugins/tweets/README.md">🐤 Latest tweets</a></th>
<th><a href="source/plugins/stackoverflow/README.md">🗨️ Stack Overflow</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<details open><summary>Latest tweets with attachments</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.tweets.attachments.svg" alt=""></img></details> <details open><summary>Latest tweets with attachments</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.tweets.attachments.svg" alt=""></img></details>
<details><summary>Latest tweets</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.tweets.svg" alt=""></img></details> <details><summary>Latest tweets</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.tweets.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr>
<tr>
<th><a href="source/plugins/stackoverflow/README.md">🗨️ Stack Overflow</a></th>
<th><a href="source/plugins/anilist/README.md">🌸 Anilist watch list and reading list</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stackoverflow.svg" alt=""></img> <img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stackoverflow.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr>
<tr>
<th><a href="source/plugins/anilist/README.md">🌸 Anilist watch list and reading list</a></th>
<th><a href="source/plugins/music/README.md">🎼 Music activity and suggestions</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<details open><summary>For anime watchers</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.svg" alt=""></img></details> <details open><summary>For anime watchers</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.svg" alt=""></img></details>
<details><summary>For manga readers</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.manga.svg" alt=""></img></details> <details><summary>For manga readers</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.manga.svg" alt=""></img></details>
<details open><summary>For waifus simp</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.characters.svg" alt=""></img></details> <details open><summary>For waifus simp</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.anilist.characters.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr>
<tr>
<th><a href="source/plugins/music/README.md">🎼 Music activity and suggestions</a></th>
<th><a href="source/plugins/posts/README.md">✒️ Recent posts</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<details open><summary>Random tracks from a playlist</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.music.playlist.svg" alt=""></img></details> <details open><summary>Random tracks from a playlist</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.music.playlist.svg" alt=""></img></details>
<details open><summary>Recently listened</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.music.recent.svg" alt=""></img></details> <details open><summary>Recently listened</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.music.recent.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr>
<tr>
<th><a href="source/plugins/posts/README.md">✒️ Recent posts</a></th>
<th><a href="source/plugins/rss/README.md">🗼 Rss feed</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<details open><summary>Latest posts width description and cover image</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.full.svg" alt=""></img></details> <details open><summary>Latest posts width description and cover image</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.full.svg" alt=""></img></details>
<details><summary>Latest posts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.svg" alt=""></img></details> <details><summary>Latest posts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.posts.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr>
<tr>
<th><a href="source/plugins/rss/README.md">🗼 Rss feed</a></th>
<th><a href="source/plugins/wakatime/README.md">⏰ WakaTime</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.rss.svg" alt=""></img> <img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.rss.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr>
<tr>
<th><a href="source/plugins/wakatime/README.md">⏰ WakaTime</a></th>
<th><a href="source/plugins/leetcode/README.md">🗳️ Leetcode</a></th>
</tr>
<tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.wakatime.svg" alt=""></img> <img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.wakatime.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr>
<tr>
<th><a href="source/plugins/leetcode/README.md">🗳️ Leetcode</a></th>
<th></th>
</tr>
<tr>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.leetcode.svg" alt=""></img> <img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.leetcode.svg" alt=""></img>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
<td align="center"><img width="900" height="1" alt=""></td>
</tr> </tr>
<tr> <tr>
<th colspan="2" align="center"> <th colspan="2" align="center">
@@ -497,6 +500,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)
* [💝 GitHub Sponsorships <sub>`sponsorships`</sub>](/source/plugins/sponsorships/README.md)
* [✨ Stargazers <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)

15
action.yml generated
View File

@@ -949,6 +949,21 @@ inputs:
description: Advanced settings description: Advanced settings
default: <default-value> default: <default-value>
# ====================================================================================
# 💝 GitHub Sponsorships
plugin_sponsorships:
description: Enable sponsorships plugin
default: <default-value>
plugin_sponsorships_sections:
description: Displayed sections
default: <default-value>
plugin_sponsorships_size:
description: Profile picture display size
default: <default-value>
# ==================================================================================== # ====================================================================================
# 💭 GitHub Community Support # 💭 GitHub Community Support

3
settings.example.json generated
View File

@@ -143,6 +143,9 @@
"skyline":{ "skyline":{
"enabled": false, "//": "Enable skyline plugin" "enabled": false, "//": "Enable skyline plugin"
}, },
"sponsorships":{
"enabled": false, "//": "Enable sponsorships plugin"
},
"support":{ "support":{
"enabled": false, "//": "Enable support plugin" "enabled": false, "//": "Enable support plugin"
}, },

View File

@@ -29,6 +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)
* [💝 GitHub Sponsorships <sub>`sponsorships`</sub>](/source/plugins/sponsorships/README.md)
* [✨ Stargazers <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)

View File

@@ -1,12 +1,94 @@
<!--header--> <!--header-->
<table>
<tr><td colspan="2"><a href="/README.md#-plugins">← Back to plugins index</a></td></tr>
<tr><th colspan="2"><h3>💝 GitHub Sponsorships</h3></th></tr>
<tr><td colspan="2" align="center"><p>This plugin displays sponsorships funded through <a href="https://github.com/sponsors/">GitHub sponsors</a>.</p>
</td></tr>
<tr><th>⚠️ Disclaimer</th><td><p>This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with <a href="https://github.com">GitHub</a>.
All product and company names are trademarks™ or registered® trademarks of their respective holders.</p>
</td></tr>
<tr>
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
<td><a href="/source/templates/classic/README.md"><code>📗 Classic template</code></a></td>
</tr>
<tr>
<td><code>👤 Users</code> <code>👥 Organizations</code></td>
</tr>
<tr>
<td><code>🔑 read:user</code> <code>🔑 read:org</code> <code>read:packages (optional)</code> <code>repo (optional)</code></td>
</tr>
<tr>
<td colspan="2" align="center">
<img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.sponsorships.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
</tr>
</table>
<!--/header--> <!--/header-->
## ➡️ Available options ## ➡️ Available options
<!--options--> <!--options-->
<table>
<tr>
<td align="center" nowrap="nowrap">Option</i></td><td align="center" nowrap="nowrap">Description</td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_sponsorships</code></h4></td>
<td rowspan="2"><p>Enable sponsorships plugin</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>boolean</code>
<br>
<b>default:</b> no<br></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_sponsorships_sections</code></h4></td>
<td rowspan="2"><p>Displayed sections</p>
<ul>
<li><code>amount</code>: display total amount sponsored</li>
<li><code>sponsorships</code>: display GitHub sponsorships</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> amount, sponsorships<br>
<b>allowed values:</b><ul><li>amount</li><li>sponsorships</li></ul></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_sponsorships_size</code></h4></td>
<td rowspan="2"><p>Profile picture display size</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>(8 ≤
𝑥
≤ 64)</i>
<br>
<b>default:</b> 24<br></td>
</tr>
</table>
<!--/options--> <!--/options-->
## Examples workflows ## Examples workflows
<!--examples--> <!--examples-->
```yaml
name: 💝 GitHub sponsorships
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.sponsorships.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_sponsorships: yes
```
<!--/examples--> <!--/examples-->

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/chess/README.md" title="♟️ Chess">♟️</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/splatoon/README.md" title="🦑 Splatoon">🦑</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/leetcode/README.md" title="🗳️ Leetcode">🗳️</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> <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/chess/README.md" title="♟️ Chess">♟️</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/splatoon/README.md" title="🦑 Splatoon">🦑</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/leetcode/README.md" title="🗳️ Leetcode">🗳️</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/sponsorships/README.md" title="💝 GitHub Sponsorships">💝</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>

7
tests/cases/sponsorships.plugin.yml generated Normal file
View File

@@ -0,0 +1,7 @@
- name: 💝 GitHub Sponsorships - 💝 GitHub sponsorships
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN
plugin_sponsorships: 'yes'
use_mocked_data: 'yes'
verify: 'yes'