diff --git a/README.md b/README.md
index 4f68438c..3defcc16 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
|
-
+
|
@@ -369,7 +369,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
# 📚 Documentation
-> *⚠️ 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).*
+> *⚠️ 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).*
diff --git a/action.yml b/action.yml
index 6c24358b..9ed60895 100644
--- a/action.yml
+++ b/action.yml
@@ -181,6 +181,18 @@ inputs:
description: Job delay
default:
+ quota_required_rest:
+ description: Minimum GitHub REST API requests quota required to run
+ default:
+
+ quota_required_graphql:
+ description: Minimum GitHub GraphQL API requests quota required to run
+ default:
+
+ quota_required_search:
+ description: Minimum GitHub REST API requests quota required to run
+ default:
+
notice_releases:
description: Notice about new releases of metrics
default:
@@ -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
diff --git a/source/plugins/core/README.md b/source/plugins/core/README.md
index 561f49a8..c61d46d0 100644
--- a/source/plugins/core/README.md
+++ b/source/plugins/core/README.md
@@ -849,6 +849,54 @@ It can result in cropped or oversized outputs.
𝑥
≤ 3600)
+default: 0
+
+
+ quota_required_rest
|
+ Minimum GitHub REST API requests quota required to run
+Action will cancel itself without any errors if requirements are not met
+This option has no effect when token is set to NOT_NEEDED
+![]() |
+
+
+ ✨ On master/main
+type: number
+(0 ≤
+𝑥
+≤ 5000)
+
+default: 200
|
+
+
+ quota_required_graphql
|
+ Minimum GitHub GraphQL API requests quota required to run
+Action will cancel itself without any errors if requirements are not met
+This option has no effect when token is set to NOT_NEEDED
+![]() |
+
+
+ ✨ On master/main
+type: number
+(0 ≤
+𝑥
+≤ 5000)
+
+default: 200
|
+
+
+ quota_required_search
|
+ Minimum GitHub REST API requests quota required to run
+Action will cancel itself without any errors if requirements are not met
+This option has no effect when token is set to NOT_NEEDED
+![]() |
+
+
+ ✨ On master/main
+type: number
+(0 ≤
+𝑥
+≤ 30)
+
default: 0
|