ci: auto-regenerate files

This commit is contained in:
github-actions[bot]
2023-03-16 01:22:15 +00:00
parent ff1008392f
commit 2ca1f471e1
6 changed files with 42 additions and 13 deletions

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 46 plugins and 328 options!</a></h3> <h3><a href="/README.md#-plugins">🧩 Customizable with 46 plugins and 329 options!</a></h3>
</th> </th>
</tr> </tr>
<tr> <tr>
@@ -47,7 +47,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
<tr> <tr>
<td align="center"> <td align="center">
<details open><summary>Classic charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details> <details open><summary>Classic charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
<details><summary>Chartist charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg" alt=""></img></details> <details><summary>Graph charts</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.graph.svg" alt=""></img></details>
<details open><summary>Worldmap</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.worldmap.svg" alt=""></img></details> <details open><summary>Worldmap</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.worldmap.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>

4
action.yml generated
View File

@@ -348,6 +348,10 @@ inputs:
description: Enable stargazers plugin description: Enable stargazers plugin
default: <default-value> default: <default-value>
plugin_stargazers_days:
description: Time range
default: <default-value>
plugin_stargazers_charts: plugin_stargazers_charts:
description: Charts description: Charts
default: <default-value> default: <default-value>

View File

@@ -39,7 +39,7 @@
<tr> <tr>
<td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>: <td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>:
<ul> <ul>
<li><i>metrics.npm.optional.chartist</i></li> <li><i>metrics.npm.optional.d3</i></li>
<li><i>metrics.api.yahoo.finance</i></li> <li><i>metrics.api.yahoo.finance</i></li>
</ul> </ul>
<b>type:</b> <code>boolean</code> <b>type:</b> <code>boolean</code>

View File

@@ -116,19 +116,22 @@ Recent language activity may also displayed (it requires extras features to be e
<td rowspan="2"><p>Charts display type</p> <td rowspan="2"><p>Charts display type</p>
<ul> <ul>
<li><code>classic</code>: <code>&lt;div&gt;</code> based charts, simple and lightweight</li> <li><code>classic</code>: <code>&lt;div&gt;</code> based charts, simple and lightweight</li>
<li><code>chartist</code>: <code>&lt;svg&gt;</code> based charts, smooth</li> <li><code>graph</code>: <code>&lt;svg&gt;</code> based charts, smooth</li>
</ul> </ul>
<blockquote>
<p>⚠️ <code>chartist</code> option has been deprecated and is now equivalent to <code>graph</code></p>
</blockquote>
<img width="900" height="1" alt=""></td> <img width="900" height="1" alt=""></td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>: <td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>:
<ul> <ul>
<li><i>metrics.npm.optional.chartist</i></li> <li><i>metrics.npm.optional.d3</i></li>
</ul> </ul>
<b>type:</b> <code>string</code> <b>type:</b> <code>string</code>
<br> <br>
<b>default:</b> classic<br> <b>default:</b> classic<br>
<b>allowed values:</b><ul><li>classic</li><li>chartist</li></ul></td> <b>allowed values:</b><ul><li>classic</li><li>graph</li><li>chartist</li></ul></td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap"><h4><code>plugin_habits_trim</code></h4></td> <td nowrap="nowrap"><h4><code>plugin_habits_trim</code></h4></td>

View File

@@ -126,6 +126,10 @@ with:
plugin_lines_sections: repositories, history plugin_lines_sections: repositories, history
plugin_lines_repositories_limit: 2 plugin_lines_repositories_limit: 2
plugin_lines_history_limit: 1 plugin_lines_history_limit: 1
repositories_skipped: |
@use.patterns
*/*
+lowlighter/metrics
``` ```
<!--/examples--> <!--/examples-->

View File

@@ -20,7 +20,7 @@ All product and company names are trademarks™ or registered® trademarks of th
<tr> <tr>
<td colspan="2" align="center"> <td colspan="2" align="center">
<details open><summary>Classic charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details> <details open><summary>Classic charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.svg" alt=""></img></details>
<details><summary>Chartist charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.chartist.svg" alt=""></img></details> <details><summary>Graph charts</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.graph.svg" alt=""></img></details>
<details open><summary>Worldmap</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.worldmap.svg" alt=""></img></details> <details open><summary>Worldmap</summary><img src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.stargazers.worldmap.svg" alt=""></img></details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
@@ -55,6 +55,21 @@ Follow instructions from their [documentation](https://developers.google.com/map
<td nowrap="nowrap"><b>type:</b> <code>boolean</code> <td nowrap="nowrap"><b>type:</b> <code>boolean</code>
<br> <br>
<b>default:</b> no<br></td> <b>default:</b> no<br></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>plugin_stargazers_days</code></h4></td>
<td rowspan="2"><p>Time range</p>
<p>If set to <code>0</code> the account registration date will be used.</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>zero behaviour:</b> see description</br>
<b>default:</b> 14<br></td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap"><h4><code>plugin_stargazers_charts</code></h4></td> <td nowrap="nowrap"><h4><code>plugin_stargazers_charts</code></h4></td>
@@ -72,19 +87,22 @@ Follow instructions from their [documentation](https://developers.google.com/map
<td rowspan="2"><p>Charts display type</p> <td rowspan="2"><p>Charts display type</p>
<ul> <ul>
<li><code>classic</code>: <code>&lt;div&gt;</code> based charts, simple and lightweight</li> <li><code>classic</code>: <code>&lt;div&gt;</code> based charts, simple and lightweight</li>
<li><code>chartist</code>: <code>&lt;svg&gt;</code> based charts, smooth</li> <li><code>graph</code>: <code>&lt;svg&gt;</code> based charts, smooth</li>
</ul> </ul>
<blockquote>
<p>⚠️ <code>chartist</code> option has been deprecated and is now equivalent to <code>graph</code></p>
</blockquote>
<img width="900" height="1" alt=""></td> <img width="900" height="1" alt=""></td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>: <td nowrap="nowrap">🌐 Web instances must configure <code>settings.json</code>:
<ul> <ul>
<li><i>metrics.npm.optional.chartist</i></li> <li><i>metrics.npm.optional.d3</i></li>
</ul> </ul>
<b>type:</b> <code>string</code> <b>type:</b> <code>string</code>
<br> <br>
<b>default:</b> classic<br> <b>default:</b> classic<br>
<b>allowed values:</b><ul><li>classic</li><li>chartist</li></ul></td> <b>allowed values:</b><ul><li>classic</li><li>graph</li><li>chartist</li></ul></td>
</tr> </tr>
<tr> <tr>
<td nowrap="nowrap"><h4><code>plugin_stargazers_worldmap</code></h4></td> <td nowrap="nowrap"><h4><code>plugin_stargazers_worldmap</code></h4></td>
@@ -143,14 +161,14 @@ with:
``` ```
```yaml ```yaml
name: Using chartist charts name: Using graph charts
uses: lowlighter/metrics@latest uses: lowlighter/metrics@latest
with: with:
filename: metrics.plugin.stargazers.chartist.svg filename: metrics.plugin.stargazers.graph.svg
token: ${{ secrets.METRICS_TOKEN }} token: ${{ secrets.METRICS_TOKEN }}
base: "" base: ""
plugin_stargazers: yes plugin_stargazers: yes
plugin_stargazers_charts_type: chartist plugin_stargazers_charts_type: graph
``` ```
```yaml ```yaml