tests: auto-generated from examples.yml (#773) [skip ci]
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
base: ""
|
||||
plugin_achievements: yes
|
||||
plugin_achievements_only: sponsor, maintainer, octonaut
|
||||
test:
|
||||
timeout: 900000
|
||||
|
||||
- name: Compact display
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -19,5 +17,3 @@
|
||||
plugin_achievements_only: polyglot, stargazer, sponsor, deployer, member, maintainer, developer, scripter, packager, explorer, infographile, manager
|
||||
plugin_achievements_display: compact
|
||||
plugin_achievements_threshold: X
|
||||
test:
|
||||
timeout: 900000
|
||||
@@ -1,15 +0,0 @@
|
||||
- name: Achievements plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_achievements: yes
|
||||
timeout: 900000
|
||||
|
||||
- name: Achievements plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_achievements_threshold: A
|
||||
plugin_achievements_secrets: no
|
||||
plugin_achievements_ignored: octonaut
|
||||
timeout: 900000
|
||||
@@ -1,21 +0,0 @@
|
||||
- name: Activity plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_activity: yes
|
||||
|
||||
- name: Activity plugin (filtered)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_activity: yes
|
||||
plugin_activity_filter: pr, issue
|
||||
|
||||
- name: Activity plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_activity: yes
|
||||
plugin_activity_limit: 100
|
||||
plugin_activity_days: 14
|
||||
plugin_activity_filter: all
|
||||
@@ -1,62 +0,0 @@
|
||||
- name: Anilist plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
|
||||
- name: Anilist plugin (manga only)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_medias: manga
|
||||
|
||||
- name: Anilist plugin (anime only)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_medias: anime
|
||||
|
||||
- name: Anilist plugin (favorites section)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_sections: favorites
|
||||
|
||||
- name: Anilist plugin (watching/reading section)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_sections: watching, reading
|
||||
|
||||
- name: Anilist plugin (characters section)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_sections: characters
|
||||
|
||||
- name: Anilist plugin (additional options)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_limit: 0
|
||||
plugin_anilist_limit_characters: 10
|
||||
plugin_anilist_shuffle: no
|
||||
plugin_anilist_user: user
|
||||
|
||||
- name: Anilist plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_medias: manga, anime
|
||||
plugin_anilist_sections: favorites, watching, reading, characters
|
||||
plugin_anilist_limit: 0
|
||||
plugin_anilist_limit_characters: 22
|
||||
plugin_anilist_shuffle: no
|
||||
plugin_anilist_user: user
|
||||
@@ -1,45 +0,0 @@
|
||||
- name: Base (header)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: header
|
||||
base_header: yes # For web instance
|
||||
|
||||
- name: Base (activity)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: activity
|
||||
base_activity: yes # For web instance
|
||||
|
||||
- name: Base (community)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: community
|
||||
base_community: yes # For web instance
|
||||
|
||||
- name: Base (repositories)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: repositories
|
||||
base_repositories: yes # For web instance
|
||||
|
||||
- name: Base (metadata)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: metadata
|
||||
base_metadata: yes # For web instance
|
||||
|
||||
- name: Base (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: header, activity, community, repositories, metadata
|
||||
base_header: yes # For web instance
|
||||
base_activity: yes # For web instance
|
||||
base_community: yes # For web instance
|
||||
base_repositories: yes # For web instance
|
||||
base_metadata: yes # For web instance
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Code plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_code: yes
|
||||
@@ -1,15 +0,0 @@
|
||||
#- name: Contributors plugin (default)
|
||||
# uses: lowlighter/metrics@latest
|
||||
# with:
|
||||
# token: MOCKED_TOKEN
|
||||
# plugin_contributors: yes
|
||||
|
||||
#- name: Contributors plugin (complete)
|
||||
# uses: lowlighter/metrics@latest
|
||||
# with:
|
||||
# token: MOCKED_TOKEN
|
||||
# plugin_contributors: yes
|
||||
# plugin_contributors_ignored: github-actions[bot]
|
||||
# plugin_contributors_contributions: yes
|
||||
# plugin_contributors_head: MOCKED_SHA
|
||||
# plugin_contributors_base: MOCKED_SHA
|
||||
0
source/plugins/core/examples.yml
Normal file
0
source/plugins/core/examples.yml
Normal file
@@ -1,44 +0,0 @@
|
||||
- name: Image output (jpeg)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_output: jpeg
|
||||
|
||||
- name: Image output (png)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_output: png
|
||||
|
||||
- name: Image output (json)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_output: json
|
||||
|
||||
- name: Use twemoji
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_twemoji: yes
|
||||
|
||||
- name: Use gemoji
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_gemoji: yes
|
||||
|
||||
- name: Disable animations
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_animations: no
|
||||
|
||||
- name: Community templates
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
template: "@classic"
|
||||
setup_community_templates: "lowlighter/metrics@master:classic"
|
||||
modes:
|
||||
- action
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Discussions plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_discussions: yes
|
||||
@@ -1,12 +0,0 @@
|
||||
- name: Follow-up plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_followup: yes
|
||||
|
||||
- name: Follow-up plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_followup: yes
|
||||
plugin_followup_sections: repositories, user
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Gists plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_gists: yes
|
||||
@@ -1,31 +0,0 @@
|
||||
- name: Habits plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: yes
|
||||
|
||||
- name: Habits plugin (charts)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: yes
|
||||
plugin_habits_facts: no
|
||||
plugin_habits_charts: yes
|
||||
plugin_habits_trim: yes
|
||||
config_timezone: Europe/Paris
|
||||
|
||||
- name: Habits plugin (facts)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: yes
|
||||
plugin_habits_facts: yes
|
||||
|
||||
- name: Habits plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: yes
|
||||
plugin_habits_facts: yes
|
||||
plugin_habits_charts: yes
|
||||
config_timezone: Europe/Paris
|
||||
@@ -1,12 +0,0 @@
|
||||
- name: Introduction plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_introduction: yes
|
||||
|
||||
- name: Introduction plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_introduction: yes
|
||||
plugin_introduction_title: no
|
||||
@@ -1,20 +0,0 @@
|
||||
- name: Isocalendar plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_isocalendar: yes
|
||||
|
||||
- name: Isocalendar plugin (half-year)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_isocalendar: yes
|
||||
plugin_isocalendar_duration: half-year
|
||||
|
||||
|
||||
- name: Isocalendar plugin (full-year)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_isocalendar: yes
|
||||
plugin_isocalendar_duration: full-year
|
||||
@@ -1,59 +0,0 @@
|
||||
- name: Language plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
|
||||
- name: Language plugin (ignored languages)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_ignored: html, css, dockerfile
|
||||
|
||||
- name: Language plugin (skipped repositories)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_skipped: metrics
|
||||
|
||||
- name: Language plugin (custom color set)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_colors: complementary
|
||||
|
||||
- name: Language plugin (with details)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_details: percentage
|
||||
|
||||
- name: Language plugin (with threshold)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_threshold: 2%
|
||||
|
||||
- name: Language plugin (with categories)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_categories: programming, data
|
||||
|
||||
- name: Language plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_ignored: html, css, dockerfile
|
||||
plugin_languages_skipped: metrics
|
||||
plugin_languages_colors: rainbow
|
||||
plugin_languages_details: bytes-size, percentage
|
||||
plugin_languages_threshold: 2%
|
||||
plugin_languages_categories: programming, markup, data
|
||||
@@ -7,6 +7,10 @@
|
||||
repo: metrics
|
||||
plugin_licenses: yes
|
||||
plugin_licenses_setup: npm ci
|
||||
test:
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
|
||||
- name: Licenses with open-source ratio graphs
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -20,3 +24,5 @@
|
||||
plugin_licenses_setup: npm ci
|
||||
plugin_licenses_legal: no
|
||||
plugin_licenses_ratio: yes
|
||||
test:
|
||||
skip: true
|
||||
@@ -1,13 +0,0 @@
|
||||
#- name: Licenses plugin (complete)
|
||||
# uses: lowlighter/metrics@latest
|
||||
# with:
|
||||
# token: MOCKED_TOKEN
|
||||
# template: repository
|
||||
# repo: metrics
|
||||
# plugin_licenses: yes
|
||||
# plugin_licenses_setup: npm ci
|
||||
# plugin_licenses_ratio: yes
|
||||
# plugin_licenses_legal: yes
|
||||
# timeout: 1800000
|
||||
# modes:
|
||||
# - action
|
||||
@@ -1,7 +0,0 @@
|
||||
- name: Lines plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: repositories
|
||||
plugin_lines: yes
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
plugin_music_mode: recent
|
||||
plugin_music_token: ${{ secrets.SPOTIFY_TOKENS }}
|
||||
plugin_music_limit: 2
|
||||
test:
|
||||
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
|
||||
|
||||
- name: Spotify - Top tracks
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -37,8 +35,6 @@
|
||||
plugin_music_provider: spotify
|
||||
plugin_music_time_range: short
|
||||
plugin_music_top_type: tracks
|
||||
test:
|
||||
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
|
||||
|
||||
- name: Spotify - Top artists
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -49,8 +45,6 @@
|
||||
plugin_music_provider: spotify
|
||||
plugin_music_time_range: long
|
||||
plugin_music_top_type: artists
|
||||
test:
|
||||
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
|
||||
|
||||
- name: Youtube Music - Random track from playlist
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -67,8 +61,6 @@
|
||||
plugin_music: yes
|
||||
plugin_music_mode: recent
|
||||
plugin_music_provider: youtube
|
||||
test:
|
||||
plugin_music_token: SAPISID=MOCKED_COOKIE; OTHER_PARAM=OTHER_VALUE;
|
||||
|
||||
- name: Last.fm - Recently listed
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -77,6 +69,4 @@
|
||||
plugin_music_token: ${{ secrets.LASTFM_TOKEN }}
|
||||
plugin_music: yes
|
||||
plugin_music_provider: lastfm
|
||||
plugin_music_user: RJ
|
||||
test:
|
||||
plugin_music_token: MOCKED_TOKEN
|
||||
plugin_music_user: RJ
|
||||
@@ -1,69 +0,0 @@
|
||||
- name: Music plugin (playlist - apple)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: yes
|
||||
plugin_music_playlist: https://embed.music.apple.com/fr/playlist/usr-share/pl.u-V9D7m8Etjmjd0D
|
||||
|
||||
- name: Music plugin (playlist - spotify)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: yes
|
||||
plugin_music_playlist: https://open.spotify.com/embed/playlist/3nfA87oeJw4LFVcUDjRcqi
|
||||
|
||||
- name: Music plugin (playlist - yt music)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: yes
|
||||
plugin_music_playlist: https://music.youtube.com/playlist?list=OLAK5uy_kU_uxp9TUOl9zVdw77xith8o9AknVwz9U
|
||||
|
||||
- name: Music plugin (recent - spotify)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
|
||||
plugin_music: yes
|
||||
plugin_music_played_at: yes
|
||||
plugin_music_provider: spotify
|
||||
|
||||
- name: Music plugin (recent - lastfm)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: MOCKED_TOKEN
|
||||
plugin_music: yes
|
||||
plugin_music_provider: lastfm
|
||||
plugin_music_user: RJ
|
||||
|
||||
- name: Music plugin (recent - yt music)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: SAPISID=MOCKED_COOKIE; OTHER_PARAM=OTHER_VALUE;
|
||||
plugin_music: yes
|
||||
plugin_music_mode: recent
|
||||
plugin_music_provider: youtube
|
||||
|
||||
- name: Music plugin (top - spotify - tracks)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
|
||||
plugin_music: yes
|
||||
plugin_music_mode: top
|
||||
plugin_music_provider: spotify
|
||||
plugin_music_time_range: short
|
||||
plugin_music_top_type: tracks
|
||||
|
||||
- name: Music plugin (top - spotify - artists)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
|
||||
plugin_music: yes
|
||||
plugin_music_mode: top
|
||||
plugin_music_provider: spotify
|
||||
plugin_music_time_range: long
|
||||
plugin_music_top_type: artists
|
||||
@@ -1,14 +0,0 @@
|
||||
- name: Nightscout plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_nightscout: yes
|
||||
plugin_nightscout_url: https://testapp.herokuapp.com/
|
||||
|
||||
- name: Nightscout plugin (without graph)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_nightscout: yes
|
||||
plugin_nightscout_url: https://testapp.herokuapp.com/
|
||||
plugin_nightscout_datapoints: 0
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Notable plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_notable: yes
|
||||
@@ -1,39 +0,0 @@
|
||||
- name: PageSpeed plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
|
||||
- name: PageSpeed plugin (different url)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_url: github.com
|
||||
|
||||
- name: PageSpeed plugin (detailed)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_detailed: yes
|
||||
|
||||
- name: PageSpeed plugin (screenshot)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_screenshot: yes
|
||||
|
||||
- name: PageSpeed plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_detailed: yes
|
||||
plugin_pagespeed_screenshot: yes
|
||||
@@ -1,71 +0,0 @@
|
||||
- name: People plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
|
||||
- name: People plugin (followers)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: followers
|
||||
|
||||
- name: People plugin (following)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: following
|
||||
|
||||
- name: People plugin (sponsoring)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: sponsoring
|
||||
|
||||
- name: People plugin (sponsors)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: sponsors
|
||||
|
||||
- name: People plugin (custom sponsors)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: sponsors
|
||||
plugin_people_sponsors_custom: lowlighter, octocat
|
||||
|
||||
- name: People plugin (stargazers)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: stargazers
|
||||
|
||||
- name: People plugin (watchers)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: watchers
|
||||
|
||||
- name: People plugin (thanks)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: thanks
|
||||
plugin_people_thanks: lowlighter
|
||||
|
||||
- name: People plugin (identicons)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_identicons: yes
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Poopmap plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_poopmap: yes
|
||||
@@ -1,15 +0,0 @@
|
||||
- name: Posts plugin (dev.to)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_posts: yes
|
||||
plugin_posts_source: dev.to
|
||||
plugin_posts_user: lowlighter
|
||||
|
||||
- name: Posts plugin (hashnode)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_posts: yes
|
||||
plugin_posts_source: hashnode
|
||||
plugin_posts_user: lowlighter
|
||||
@@ -1,22 +0,0 @@
|
||||
- name: Projects plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_projects: yes
|
||||
|
||||
- name: Projects plugin (repositories)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_projects: yes
|
||||
plugin_projects_repositories: lowlighter/metrics/projects/1
|
||||
plugin_projects_limit: 0
|
||||
|
||||
- name: Projects plugin (descriptions)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_projects: yes
|
||||
plugin_projects_repositories: lowlighter/metrics/projects/1
|
||||
plugin_projects_limit: 0
|
||||
plugin_projects_descriptions: yes
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Reactions plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_reactions: yes
|
||||
@@ -1,6 +0,0 @@
|
||||
- name: Repositories plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_repositories: yes
|
||||
plugin_repositories_list: metrics
|
||||
@@ -1,9 +0,0 @@
|
||||
- name: Feed from hacker news
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.rss.svg
|
||||
token: NOT_NEEDED
|
||||
base: ""
|
||||
plugin_rss: yes
|
||||
plugin_rss_source: https://news.ycombinator.com/rss
|
||||
plugin_rss_limit: 4
|
||||
@@ -8,3 +8,7 @@
|
||||
plugin_screenshot_title: XKCD of the day
|
||||
plugin_screenshot_url: https://xkcd.com
|
||||
plugin_screenshot_selector: "#comic img"
|
||||
test:
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
@@ -1,12 +0,0 @@
|
||||
- name: Screenshot plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_screenshot: yes
|
||||
plugin_screenshot_url: https://github.com
|
||||
plugin_screenshot_title: Test
|
||||
plugin_screenshot_selector: body
|
||||
plugin_screenshot_background: no
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
@@ -7,3 +7,7 @@
|
||||
plugin_skyline_year: 2020
|
||||
plugin_skyline_frames: 6
|
||||
plugin_skyline_quality: 1
|
||||
test:
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
@@ -1,29 +0,0 @@
|
||||
- name: Skyline plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_skyline: yes
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
|
||||
- name: Skyline plugin (compatibility)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_skyline: yes
|
||||
plugin_skyline_compatibility: yes
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
|
||||
- name: Skyline plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_skyline: yes
|
||||
plugin_skyline_frames: 12
|
||||
plugin_skyline_quality: 0.7
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Sponsors plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_sponsors: yes
|
||||
@@ -1,16 +0,0 @@
|
||||
- name: Stackoverflow plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_stackoverflow: yes
|
||||
plugin_stackoverflow_user: 1
|
||||
|
||||
- name: Stackoverflow plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_stackoverflow: yes
|
||||
plugin_stackoverflow_user: 1
|
||||
plugin_stackoverflow_sections: answers-top, answers-recent, questions-top, questions-recent
|
||||
plugin_stackoverflow_limit: 2
|
||||
plugin_stackoverflow_lines: 4
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Stargazers plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_stargazers: yes
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Starlists plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_starlists: yes
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Stars plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_stars: yes
|
||||
@@ -48,6 +48,7 @@ with:
|
||||
token: NOT_NEEDED
|
||||
base: ''
|
||||
plugin_stock: 'yes'
|
||||
plugin_stock_token: ${{ secrets.RAPIDAPI_TOKEN }}
|
||||
plugin_stock_symbol: TSLA
|
||||
|
||||
```
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
token: NOT_NEEDED
|
||||
base: ""
|
||||
plugin_stock: yes
|
||||
plugin_stock_token: ${{ secrets.RAPIDAPI_TOKEN }}
|
||||
plugin_stock_symbol: TSLA
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
- name: Stock plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_stock: yes
|
||||
plugin_stock_token: MOCKED_TOKEN
|
||||
plugin_stock_symbol: OCTO
|
||||
|
||||
- name: Stock plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_stock: yes
|
||||
plugin_stock_token: MOCKED_TOKEN
|
||||
plugin_stock_symbol: OCTO
|
||||
plugin_stock_duration: 5d
|
||||
plugin_stock_interval: 5m
|
||||
@@ -1,5 +0,0 @@
|
||||
- name: Support plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_support: yes
|
||||
@@ -1,69 +0,0 @@
|
||||
- name: Topics plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
|
||||
- name: Topics plugin (starred - starred sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: starred
|
||||
|
||||
- name: Topics plugin (starred - activity sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: activity
|
||||
|
||||
- name: Topics plugin (starred - stars sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: stars
|
||||
|
||||
- name: Topics plugin (starred - random sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: random
|
||||
|
||||
- name: Topics plugin (mastered - starred sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: starred
|
||||
|
||||
- name: Topics plugin (mastered - activity sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: activity
|
||||
|
||||
- name: Topics plugin (mastered - stars sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: stars
|
||||
|
||||
- name: Topics plugin (mastered - random sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: random
|
||||
@@ -6,4 +6,5 @@
|
||||
base: repositories
|
||||
plugin_traffic: yes
|
||||
prod:
|
||||
token: ${{ secrets.METRICS_BOT_TOKEN }}
|
||||
with:
|
||||
token: ${{ secrets.METRICS_BOT_TOKEN }}
|
||||
@@ -1,6 +0,0 @@
|
||||
- name: Traffic plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
base: repositories
|
||||
plugin_traffic: yes
|
||||
@@ -7,7 +7,8 @@
|
||||
plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }}
|
||||
plugin_tweets_user: github
|
||||
prod:
|
||||
user: botlighter
|
||||
with:
|
||||
user: botlighter
|
||||
|
||||
- name: Latest tweets including attachments
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -19,5 +20,6 @@
|
||||
plugin_tweets_attachments: yes
|
||||
plugin_tweets_user: github
|
||||
prod:
|
||||
user: botlighter
|
||||
with:
|
||||
user: botlighter
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
- name: Tweets plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_tweets: yes
|
||||
plugin_tweets_token: MOCKED_TOKEN
|
||||
|
||||
- name: Tweets plugin (different user)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_tweets: yes
|
||||
plugin_tweets_user: twitterdev
|
||||
plugin_tweets_token: MOCKED_TOKEN
|
||||
@@ -7,6 +7,7 @@
|
||||
plugin_wakatime_sections: time, projects, projects-graphs, languages, languages-graphs, editors, os
|
||||
plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }}
|
||||
prod:
|
||||
# ⚠️ Using mocked data because I don't really use WakaTime, disable this
|
||||
plugin_wakatime_token: MOCKED_TOKEN
|
||||
use_mocked_data: yes
|
||||
# ⚠️ Using mocked data because I don't really use WakaTime
|
||||
with:
|
||||
plugin_wakatime_token: MOCKED_TOKEN
|
||||
use_mocked_data: yes
|
||||
@@ -1,23 +0,0 @@
|
||||
- name: WakaTime plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_wakatime_token: MOCKED_TOKEN
|
||||
plugin_wakatime: yes
|
||||
|
||||
- name: WakaTime plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_wakatime_token: MOCKED_TOKEN
|
||||
plugin_wakatime: yes
|
||||
plugin_wakatime_limit: 4
|
||||
plugin_wakatime_sections: time, projects, projects-graphs, languages, languages-graphs, editors, editors-graphs, os, os-graphs
|
||||
|
||||
- name: WakaTime plugin (projects hidden)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_wakatime_token: MOCKED_TOKEN_NO_PROJECTS
|
||||
plugin_wakatime: yes
|
||||
plugin_wakatime_sections: time, projects, languages
|
||||
Reference in New Issue
Block a user