ci: auto-regenerate files

This commit is contained in:
github-actions[bot]
2022-04-24 19:31:52 +00:00
parent 9aa9d0b56f
commit de3875652f
3 changed files with 63 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</tr>
<tr>
<th colspan="2" align="center">
<h3><a href="/README.md#-plugins">🧩 Customizable with 40 plugins and 255 options!</a></h3>
<h3><a href="/README.md#-plugins">🧩 Customizable with 40 plugins and 258 options!</a></h3>
</th>
</tr>
<tr>
@@ -369,7 +369,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
# 📚 Documentation
> <sup>*⚠️ This is the documentation of **v3.23-beta** (`@master`/`@main` branches) which includes [unreleased features](https://github.com/lowlighter/metrics/compare/latest...master). See documentation for [**v3.22** (`@latest` branch) here](https://github.com/lowlighter/metrics/blob/latest/README.md).*</sup>
> <sup>*⚠️ This is the documentation of **v3.23-beta** (`@master`/`@main` branches) which includes [unreleased features](https://github.com/lowlighter/metrics/compare/latest...master) planned for next release. See documentation for current released version [**v3.22** (`@latest` branch) here](https://github.com/lowlighter/metrics/blob/latest/README.md).* </sup>

14
action.yml generated
View File

@@ -181,6 +181,18 @@ inputs:
description: Job delay
default: <default-value>
quota_required_rest:
description: Minimum GitHub REST API requests quota required to run
default: <default-value>
quota_required_graphql:
description: Minimum GitHub GraphQL API requests quota required to run
default: <default-value>
quota_required_search:
description: Minimum GitHub REST API requests quota required to run
default: <default-value>
notice_releases:
description: Notice about new releases of metrics
default: <default-value>
@@ -1175,7 +1187,7 @@ runs:
echo "GitHub action: $METRICS_ACTION ($METRICS_ACTION_PATH)"
cd $METRICS_ACTION_PATH
for DEPENDENCY in docker jq; do
if ! which $DEPENDENCY; then
if ! which $DEPENDENCY > /dev/null 2>&1; then
echo '::error::"$DEPENDENCY" is not installed on current runner but is needed to run metrics'
MISSING_DEPENDENCIES=1
fi

View File

@@ -849,6 +849,54 @@ It can result in cropped or oversized outputs.</p>
𝑥
≤ 3600)</i>
<br>
<b>default:</b> 0<br></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>quota_required_rest</code></h4></td>
<td rowspan="2"><p>Minimum GitHub REST API requests quota required to run</p>
<p>Action will cancel itself without any errors if requirements are not met</p>
<p>This option has no effect when <code>token</code> is set to <code>NOT_NEEDED</code></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 ≤
𝑥
≤ 5000)</i>
<br>
<b>default:</b> 200<br></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>quota_required_graphql</code></h4></td>
<td rowspan="2"><p>Minimum GitHub GraphQL API requests quota required to run</p>
<p>Action will cancel itself without any errors if requirements are not met</p>
<p>This option has no effect when <code>token</code> is set to <code>NOT_NEEDED</code></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 ≤
𝑥
≤ 5000)</i>
<br>
<b>default:</b> 200<br></td>
</tr>
<tr>
<td nowrap="nowrap"><h4><code>quota_required_search</code></h4></td>
<td rowspan="2"><p>Minimum GitHub REST API requests quota required to run</p>
<p>Action will cancel itself without any errors if requirements are not met</p>
<p>This option has no effect when <code>token</code> is set to <code>NOT_NEEDED</code></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 ≤
𝑥
≤ 30)</i>
<br>
<b>default:</b> 0<br></td>
</tr>
<tr>