Metrics #23
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
name: Metrics | |
on: | |
# π Think about the planet! No need to update stats too frequently | |
schedule: [{cron: "0 0 4 * *"}] | |
# π‘ The following line lets you run workflow manually from the action tab! | |
workflow_dispatch: | |
jobs: | |
metrics: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π¦ Full year calendar | |
uses: lowlighter/metrics@latest | |
with: | |
filename: metrics.plugin.isocalendar.fullyear.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_isocalendar: yes | |
plugin_isocalendar_duration: full-year | |
- name: π¦ Classic template | |
uses: lowlighter/metrics@latest | |
with: | |
filename: metrics.classic.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: header, repositories | |
plugin_lines: yes | |
- name: π¦ Recently used | |
uses: lowlighter/metrics@latest | |
with: | |
filename: metrics.plugin.languages.recent.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_languages: yes | |
plugin_languages_ignored: >- | |
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell, | |
gnuplot, javascript | |
plugin_languages_sections: recently-used | |
plugin_languages_details: lines, bytes-size, percentage | |
plugin_languages_limit: 2 | |
- 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, javascript | |
plugin_languages_details: lines, bytes-size, percentage | |
plugin_languages_limit: 2 | |
- name: π¦ Detailed 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: Favorites anime and currently watching | |
# uses: lowlighter/metrics@latest | |
# with: | |
# filename: metrics.plugin.anilist.svg | |
# token: NOT_NEEDED | |
# base: "" | |
# plugin_anilist: yes | |
# plugin_anilist_medias: anime | |
# plugin_anilist_sections: favorites, reading, watching, characters | |
# plugin_anilist_limit: 1 | |
# - name: Favorites manga and currently reading | |
# uses: lowlighter/metrics@latest | |
# with: | |
# filename: metrics.plugin.anilist.manga.svg | |
# token: NOT_NEEDED | |
# base: "" | |
# plugin_anilist: yes | |
# plugin_anilist_medias: manga | |
# plugin_anilist_sections: favorites, reading, watching, characters | |
# plugin_anilist_limit: 1 | |
# - name: Favorites characters | |
# uses: lowlighter/metrics@latest | |
# with: | |
# filename: metrics.plugin.anilist.characters.svg | |
# token: NOT_NEEDED | |
# base: "" | |
# plugin_anilist: yes | |
# plugin_anilist_sections: favorites, reading, watching, characters | |
# plugin_anilist_limit_characters: 22 | |
- name: Youtube Music - Recently listed | |
uses: lowlighter/metrics@latest | |
with: | |
filename: metrics.plugin.music.recent.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_music_token: ${{ secrets.YOUTUBE_MUSIC_TOKENS }} | |
plugin_music: yes | |
plugin_music_provider: youtube | |
plugin_music_playlist: >- | |
https://music.youtube.com/playlist?list=PLFG2cX4u5pOVO5czHdgB-2UeV7CCXvnQv | |
- name: Topic 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 |