Skip to content

Metrics

Metrics #357

Workflow file for this run

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:
filename: metrics.svg
token: ${{ secrets.METRICS_TOKEN }}
base: header, activity, community, metadata
plugin_isocalendar: yes
plugin_achievments: yes
plugin_achievements_display: compact
- uses: lowlighter/metrics@latest
with:
filename: wakatime.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_wakatime: yes
plugin_wakatime_sections: time, projects-graphs, editors, os
plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }}
- uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.lines.history.svg
token: ${{ secrets.METRICS_TOKEN }}
base: history
plugin_lines: yes
plugin_lines_delay: 30
plugin_lines_sections: repositories, history
plugin_lines_repositories_limit: 10
plugin_lines_history_limit: 1
- uses: lowlighter/metrics@latest
with:
filename: languages.svg
token: ${{ secrets.METRICS_TOKEN }}
base: languages
plugin_languages: yes
plugin_languages_colors: github
plugin_languages_aliases: Javascript:JS TypeScript:TS
plugin_languages_details: bytes-size, percentage
plugin_languages_limit: 4