From 8e4f8dfedef4303cf81bab38c14280ffc012c62f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Jan 2022 04:16:53 +0000 Subject: [PATCH] ci: auto-regenerate files --- README.md | 2 +- settings.example.json | 1 + source/plugins/anilist/README.md | 3 +- source/plugins/base/README.md | 1 + source/plugins/core/README.md | 45 +++++++++++++++++++------- source/plugins/music/README.md | 6 ++-- source/plugins/pagespeed/README.md | 3 +- source/plugins/people/README.md | 6 ++-- source/plugins/posts/README.md | 3 +- source/plugins/projects/README.md | 3 +- source/plugins/repositories/README.md | 3 +- source/plugins/stackoverflow/README.md | 3 +- source/plugins/tweets/README.md | 3 +- source/plugins/wakatime/README.md | 3 +- tests/cases/core.plugin.yml | 11 +++++++ 15 files changed, 72 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 87765463..a2314068 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
string
+ string
→ User loginarray
(comma-seperated)
string
+ string
string
+ string
string
+ string
config_presetsConfiguration presets
+master/mainarray
+(comma-separated)
+retriesboolean
boolean
boolean
boolean
array
(space-separated)
boolean
array
(space-separated)
boolean
string
+ string
string
+ string
→ User loginstring
+ string
→ User attached websitearray
+ array
(comma-separated)
plugin_people_types must contain the sponsors
- type: array
+ ⏯️ Cannot be preset
+type: array
(comma-separated)
diff --git a/source/plugins/posts/README.md b/source/plugins/posts/README.md
index 71e41ba0..71f4831e 100644
--- a/source/plugins/posts/README.md
+++ b/source/plugins/posts/README.md
@@ -93,7 +93,8 @@
- type: string
+ ⏯️ Cannot be preset
+type: string
default: → User login
diff --git a/source/plugins/projects/README.md b/source/plugins/projects/README.md
index e4502be2..f17d1de7 100644
--- a/source/plugins/projects/README.md
+++ b/source/plugins/projects/README.md
@@ -60,7 +60,8 @@
- type: array
+ ⏯️ Cannot be preset
+type: array
(comma-separated)
diff --git a/source/plugins/repositories/README.md b/source/plugins/repositories/README.md
index 1e7a2f38..7a5d30d6 100644
--- a/source/plugins/repositories/README.md
+++ b/source/plugins/repositories/README.md
@@ -50,7 +50,8 @@
- type: array
+ ⏯️ Cannot be preset
+type: array
(comma-separated)
diff --git a/source/plugins/stackoverflow/README.md b/source/plugins/stackoverflow/README.md
index 745595d2..edca9540 100644
--- a/source/plugins/stackoverflow/README.md
+++ b/source/plugins/stackoverflow/README.md
@@ -45,7 +45,8 @@
- type: number
+ ⏯️ Cannot be preset
+type: number
default: 0
diff --git a/source/plugins/tweets/README.md b/source/plugins/tweets/README.md
index 55bd134d..cbb16edc 100644
--- a/source/plugins/tweets/README.md
+++ b/source/plugins/tweets/README.md
@@ -79,7 +79,8 @@
- type: string
+ ⏯️ Cannot be preset
+type: string
default: → User attached twitter
diff --git a/source/plugins/wakatime/README.md b/source/plugins/wakatime/README.md
index fe379d0d..c7087c61 100644
--- a/source/plugins/wakatime/README.md
+++ b/source/plugins/wakatime/README.md
@@ -112,7 +112,8 @@
- type: string
+ ⏯️ Cannot be preset
+type: string
default: current
diff --git a/tests/cases/core.plugin.yml b/tests/cases/core.plugin.yml
index b1387727..44c3bbfe 100644
--- a/tests/cases/core.plugin.yml
+++ b/tests/cases/core.plugin.yml
@@ -29,3 +29,14 @@
config_output: png
use_mocked_data: 'yes'
verify: 'yes'
+- name: 🧱 Core - Presets
+ uses: lowlighter/metrics@latest
+ with:
+ token: MOCKED_TOKEN
+ base: header, repositories
+ config_presets: >-
+ https://raw.githubusercontent.com/lowlighter/metrics/presets/lunar-red/preset.yaml
+ use_mocked_data: 'yes'
+ verify: 'yes'
+ modes:
+ - web