mirror of
https://github.com/MrUnknownDE/mrunknownde.git
synced 2026-05-07 15:16:05 +02:00
add some metrics plugins
This commit is contained in:
@@ -1,19 +0,0 @@
|
|||||||
name: Metrics
|
|
||||||
on:
|
|
||||||
# Schedule daily updates
|
|
||||||
schedule: [{cron: "0 0 * * *"}]
|
|
||||||
# (optional) Run workflow manually
|
|
||||||
workflow_dispatch:
|
|
||||||
# (optional) Run workflow when pushing on master/main
|
|
||||||
push: {branches: ["master", "main"]}
|
|
||||||
jobs:
|
|
||||||
github-metrics:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment:
|
|
||||||
name: production
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
- uses: lowlighter/metrics@latest
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.METRICS_TOKEN }}
|
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
name: Metrics
|
||||||
|
on:
|
||||||
|
# Schedule daily updates
|
||||||
|
schedule: [{cron: "0 0 * * *"}]
|
||||||
|
# (optional) Run workflow manually
|
||||||
|
workflow_dispatch:
|
||||||
|
# (optional) Run workflow when pushing on master/main
|
||||||
|
push: {branches: ["master", "main"]}
|
||||||
|
jobs:
|
||||||
|
github-metrics:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
environment:
|
||||||
|
name: production
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: lowlighter/metrics@latest
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.METRICS_TOKEN }}
|
||||||
|
config_timezone: Europe/Berlin
|
||||||
|
base: header
|
||||||
|
plugin_isocalendar: yes
|
||||||
|
plugin_languages: yes
|
||||||
|
plugin_stars: yes
|
||||||
|
config_order: base.header, isocalendar, languages, stars
|
||||||
|
|
||||||
|
|
||||||
|
name: Compact display
|
||||||
|
uses: lowlighter/metrics@latest
|
||||||
|
with:
|
||||||
|
filename: metrics.plugin.achievements.compact.svg
|
||||||
|
token: ${{ secrets.METRICS_TOKEN }}
|
||||||
|
base: ""
|
||||||
|
plugin_achievements: yes
|
||||||
|
plugin_achievements_only: >-
|
||||||
|
polyglot, stargazer, sponsor, deployer, member, maintainer, developer,
|
||||||
|
scripter, packager, explorer, infographile, manager
|
||||||
|
plugin_achievements_display: compact
|
||||||
|
plugin_achievements_threshold: X
|
||||||
|
|
||||||
|
name: Full history calendar
|
||||||
|
uses: lowlighter/metrics@latest
|
||||||
|
with:
|
||||||
|
filename: metrics.plugin.calendar.full.svg
|
||||||
|
token: ${{ secrets.METRICS_TOKEN }}
|
||||||
|
base: ""
|
||||||
|
plugin_calendar: yes
|
||||||
|
plugin_calendar_limit: 0
|
||||||
|
|
||||||
|
name: Most used (with details)
|
||||||
|
uses: lowlighter/metrics@latest
|
||||||
|
with:
|
||||||
|
filename: metrics.plugin.languages.details.svg
|
||||||
|
token: ${{ secrets.METRICS_TOKEN }}
|
||||||
|
base: ""
|
||||||
|
plugin_languages: yes
|
||||||
|
plugin_languages_ignored: >-
|
||||||
|
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
|
||||||
|
gnuplot
|
||||||
|
plugin_languages_details: bytes-size, percentage
|
||||||
|
plugin_languages_limit: 4
|
||||||
|
|
||||||
|
name: Repositories traffic
|
||||||
|
uses: lowlighter/metrics@latest
|
||||||
|
with:
|
||||||
|
filename: metrics.plugin.traffic.svg
|
||||||
|
token: ${{ secrets.METRICS_TOKEN }}
|
||||||
|
base: repositories
|
||||||
|
plugin_traffic: yes
|
||||||
|
|
||||||
|
name: Icons
|
||||||
|
uses: lowlighter/metrics@latest
|
||||||
|
with:
|
||||||
|
filename: metrics.plugin.topics.icons.svg
|
||||||
|
token: NOT_NEEDED
|
||||||
|
base: ""
|
||||||
|
plugin_topics: yes
|
||||||
|
plugin_topics_limit: 0
|
||||||
|
plugin_topics_mode: icons
|
||||||
|
|
||||||
|
|
||||||
|
name: Youtube Music - Recently listed
|
||||||
|
uses: lowlighter/metrics@latest
|
||||||
|
with:
|
||||||
|
token: NOT_NEEDED
|
||||||
|
base: ""
|
||||||
|
plugin_music_token: ${{ secrets.YOUTUBE_MUSIC_TOKENS }}
|
||||||
|
plugin_music: yes
|
||||||
|
plugin_music_mode: recent
|
||||||
|
plugin_music_provider: youtube
|
||||||
Reference in New Issue
Block a user