diff --git a/README.md b/README.md
index 13b6daf8..7872a006 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
|
-
+
|
@@ -454,6 +454,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [📸 Website screenshot `screenshot`](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)
* [💹 Stock prices `stock`](/source/plugins/community/stock/README.md) by [@lowlighter](https://github.com/lowlighter)
+
## 💪 Contributing
If you are interested in contributing, the following resources may interest you:
diff --git a/action.yml b/action.yml
index 6e0b9b19..50f6066d 100644
--- a/action.yml
+++ b/action.yml
@@ -121,6 +121,14 @@ inputs:
description: Extra JavaScript
default:
+ github_api_rest:
+ description: GitHub REST API endpoint
+ default:
+
+ github_api_graphql:
+ description: GitHub GraphQL API endpoint
+ default:
+
config_timezone:
description: Timezone for dates
default: ""
diff --git a/settings.example.json b/settings.example.json
index b8737803..a0c3fce2 100644
--- a/settings.example.json
+++ b/settings.example.json
@@ -25,6 +25,10 @@
"secret": null, "//": "GitHub OAUTH client secret",
"url":"https://example.com", "//": "GitHub OAUTH callback url (must be the same as the web instance host)"
},
+ "api":{
+ "rest": null, "//": "GitHub REST API custom endpoint",
+ "graphql": null, "//": "GitHub GraphQL API custom endpoint"
+ },
"control":{
"token": null, "//": "Control token (can be used by external services to perform actions on instance, such as stopping it for redeploys)"
},
diff --git a/source/plugins/README.md b/source/plugins/README.md
index 45358b13..87c45893 100644
--- a/source/plugins/README.md
+++ b/source/plugins/README.md
@@ -52,3 +52,4 @@ Plugins provide additional content and lets you customize rendered metrics.
* [💩 PoopMap plugin `poopmap`](/source/plugins/community/poopmap/README.md) by [@matievisthekat](https://github.com/matievisthekat)
* [📸 Website screenshot `screenshot`](/source/plugins/community/screenshot/README.md) by [@lowlighter](https://github.com/lowlighter)
* [💹 Stock prices `stock`](/source/plugins/community/stock/README.md) by [@lowlighter](https://github.com/lowlighter)
+
diff --git a/source/plugins/core/README.md b/source/plugins/core/README.md
index 3b5dd751..3c53ceef 100644
--- a/source/plugins/core/README.md
+++ b/source/plugins/core/README.md
@@ -646,6 +646,32 @@ It is run after transformations and optimizations, but just before resizing.
metrics.run.puppeteer.user.js
type: string
+
+
+
+ github_api_rest
|
+ GitHub REST API endpoint
+Can be used to support GitHub enterprises server.
+Leave empty to use default endpoint.
+![]() |
+
+
+ ⏭️ Global option
+✨ On master/main
+type: string
+
|
+
+
+ github_api_graphql
|
+ GitHub GraphQL API endpoint
+Can be used to support GitHub enterprises server.
+Leave empty to use default endpoint.
+![]() |
+
+
+ ⏭️ Global option
+✨ On master/main
+type: string
|