Skip to content

Metrics

Metrics #392

Workflow file for this run

# Visit https://github.com/lowlighter/metrics#-documentation for full reference
name: Metrics
on:
# Schedule updates (each hour)
schedule: [{cron: "0 0 * * *"}]
# Lines below let you run workflow manually and on each commit
workflow_dispatch:
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
# Options
user: Wamy-Dev
template: classic
base: header, activity, community, repositories, metadata
config_timezone: America/Chicago
plugin_fortune: yes
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_isocalendar: yes
plugin_isocalendar_duration: half-year
plugin_traffic: yes
plugin_wakatime: yes
plugin_wakatime_days: 365
plugin_wakatime_limit: 5
plugin_wakatime_repositories_visibility: all
plugin_wakatime_sections: time, languages, languages-graphs, editors, os
plugin_wakatime_url: https://wakatime.com
plugin_wakatime_user: Wamy
plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }}