Metrics #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Visit https://github.com/lowlighter/metrics#-documentation for full reference | |
name: Metrics | |
on: | |
# Schedule updates (each hour) | |
schedule: [{cron: "0 12 * * 0"}] | |
# Lines below let you run workflow manually and on each commit | |
workflow_dispatch: | |
jobs: | |
metrics: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Medias | |
uses: lowlighter/metrics@latest | |
if: ${{ success() || failure() }} | |
with: | |
user: MRtecno98 | |
template: classic | |
base: "" | |
config_order: anilist, music | |
token: ${{ secrets.METRICS_TOKEN }} | |
output_action: gist | |
committer_gist: ${{ secrets.GIST }} | |
config_octicon: yes | |
config_timezone: Europe/Rome | |
filename: medias.svg | |
plugin_anilist: yes | |
plugin_anilist_limit: 2 | |
plugin_anilist_limit_characters: 22 | |
plugin_anilist_medias: anime, manga | |
plugin_anilist_sections: favorites, characters | |
plugin_anilist_shuffle: yes | |
plugin_anilist_user: .user.login | |
plugin_music: yes | |
plugin_music_limit: 8 | |
plugin_music_mode: top | |
plugin_music_played_at: yes | |
plugin_music_provider: spotify | |
plugin_music_token: "${{ secrets.SPOTIFY_ID }}, ${{ secrets.SPOTIFY_SECRET }}, ${{ secrets.SPOTIFY_REFRESH }}" | |
plugin_music_time_range: medium | |
plugin_music_top_type: tracks | |
plugin_music_user: .user.login | |
- name: Achievements | |
uses: lowlighter/metrics@latest | |
if: ${{ success() || failure() }} | |
with: | |
user: MRtecno98 | |
template: classic | |
base: "" | |
config_order: achievements, stars | |
token: ${{ secrets.METRICS_TOKEN }} | |
output_action: gist | |
committer_gist: ${{ secrets.GIST }} | |
config_octicon: yes | |
config_timezone: Europe/Rome | |
filename: achievements.svg | |
plugin_achievements: yes | |
plugin_achievements_display: detailed | |
plugin_achievements_limit: 6 | |
plugin_achievements_secrets: yes | |
plugin_achievements_threshold: C | |
plugin_stars: yes | |
plugin_stars_limit: 2 | |
- name: Habits | |
uses: lowlighter/metrics@latest | |
if: ${{ success() || failure() }} | |
with: | |
user: MRtecno98 | |
template: classic | |
base: "" | |
config_order: habits, wakatime | |
token: ${{ secrets.METRICS_TOKEN }} | |
output_action: gist | |
committer_gist: ${{ secrets.GIST }} | |
config_octicon: yes | |
config_timezone: Europe/Rome | |
filename: habits.svg | |
plugin_habits: yes | |
plugin_habits_charts_type: classic | |
plugin_habits_days: 14 | |
plugin_habits_facts: yes | |
plugin_habits_from: 200 | |
plugin_habits_languages_limit: 8 | |
plugin_habits_languages_threshold: 0% | |
plugin_wakatime: yes | |
plugin_wakatime_token: ${{ secrets.WAKATIME_SECRET }} | |
plugin_wakatime_days: 30 | |
plugin_wakatime_limit: 5 | |
plugin_wakatime_repositories_visibility: all | |
plugin_wakatime_sections: time, projects, projects-graphs, languages, editors, editors-graph os | |
plugin_wakatime_url: https://wakatime.com | |
plugin_wakatime_user: current | |
- name: General | |
uses: lowlighter/metrics@latest | |
if: ${{ success() || failure() }} | |
with: | |
user: MRtecno98 | |
template: classic | |
base: header, activity, community, repositories, metadata | |
token: ${{ secrets.METRICS_TOKEN }} | |
output_action: gist | |
committer_gist: ${{ secrets.GIST }} | |
config_octicon: yes | |
config_timezone: Europe/Rome | |
filename: general.svg | |
plugin_activity: yes | |
plugin_activity_days: 14 | |
plugin_activity_filter: all | |
plugin_activity_limit: 3 | |
plugin_activity_load: 300 | |
plugin_activity_visibility: all | |
plugin_followup: yes | |
plugin_followup_archived: yes | |
plugin_followup_sections: repositories | |
plugin_isocalendar: yes | |
plugin_isocalendar_duration: half-year | |
plugin_languages: yes | |
plugin_languages_analysis_timeout: 15 | |
plugin_languages_analysis_timeout_repositories: 7.5 | |
plugin_languages_categories: markup, programming | |
plugin_languages_colors: github | |
plugin_languages_indepth: yes | |
plugin_languages_limit: 8 | |
plugin_languages_recent_categories: markup, programming | |
plugin_languages_recent_days: 14 | |
plugin_languages_recent_load: 300 | |
plugin_languages_sections: most-used | |
plugin_languages_threshold: 0% | |
plugin_lines: yes | |
plugin_lines_history_limit: 1 | |
plugin_lines_repositories_limit: 4 | |
plugin_lines_sections: base |