darkmaster's metrics generator #20179
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: darkmaster's metrics generator | |
on: | |
schedule: [{cron: "0 * * * *"}] | |
workflow_dispatch: | |
push: {branches: ["main"]} | |
jobs: | |
achievements: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
filename: achievements.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
user: grm34 | |
base: achievements | |
plugin_achievements: yes | |
plugin_achievements_threshold: B | |
plugin_achievements_secrets: yes | |
plugin_achievements_display: compact | |
plugin_achievements_limit: 0 | |
darkmaster: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
filename: darkmaster.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
user: grm34 | |
template: classic | |
base: header | |
config_timezone: ${{ secrets.USER_TIMEZONE }} | |
lines: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
filename: lines-of-code.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
base: "repositories" | |
plugin_lines: yes | |
activity: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
filename: activity.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
user: grm34 | |
template: classic | |
base: activity, community | |
config_timezone: ${{ secrets.USER_TIMEZONE }} | |
calendar: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
filename: calendar.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
user: grm34 | |
template: classic | |
base: "" | |
config_timezone: ${{ secrets.USER_TIMEZONE }} | |
plugin_isocalendar: yes | |
plugin_isocalendar_duration: half-year | |
habits: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
filename: habits.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
config_timezone: ${{ secrets.USER_TIMEZONE }} | |
user: grm34 | |
base: "" | |
template: classic | |
plugin_habits: yes | |
plugin_habits_from: 200 | |
plugin_habits_days: 30 | |
plugin_habits_charts: yes | |
plugin_habits_trim: yes | |
overall: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
filename: overall.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
user: grm34 | |
template: classic | |
base: "" | |
config_timezone: ${{ secrets.USER_TIMEZONE }} | |
plugin_followup: yes | |
plugin_languages: yes | |
repositories: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: lowlighter/metrics@latest | |
with: | |
filename: repositories.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
committer_token: ${{ secrets.GITHUB_TOKEN }} | |
user: grm34 | |
template: classic | |
base: repositories | |
config_timezone: ${{ secrets.USER_TIMEZONE }} | |
topics: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Icons | |
uses: lowlighter/metrics@latest | |
with: | |
filename: topics.svg | |
token: NOT_NEEDED | |
base: "" | |
plugin_topics: yes | |
plugin_topics_limit: 0 | |
plugin_topics_mode: icons | |
featured: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Featured repositories | |
uses: lowlighter/metrics@latest | |
with: | |
filename: featured.svg | |
token: ${{ secrets.METRICS_TOKEN }} | |
base: "" | |
plugin_repositories: yes | |
plugin_repositories_featured: grm34/ZenMaxBuilder |