Skip to content

Metrics

Metrics #40

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: ["main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
# The following scopes are required:
# - public_access (default scope)
# The following additional scopes may be required:
# - read:org (for organization related metrics)
# - read:user (for user related data)
# - read:packages (for some packages related data)
# - repo (optional, if you want to include private repositories)
token: ${{ secrets.GH_TOKEN }}
# Options
config_timezone: Europe/Paris
config_display: large
config_animations: yes
notice_releases: no
template: classic
base: header, activity, community, repositories, metadata
plugin_lines: yes
plugin_languages: yes
plugin_languages_indepth: yes
plugin_languages_categories: programming, data, markup
plugin_languages_ignored: JSON, YAML, INI, Ignore List
plugin_wakatime: yes
plugin_wakatime_token: ${{ secrets.WAKATIME_API_KEY }}
plugin_wakatime_sections: time, languages, languages-graphs, editors, os
plugin_wakatime_languages_ignored: JSON, YAML, INI, Ignore List
plugin_wakatime_days: 30
plugin_habits: yes
plugin_habits_from: 1000
plugin_habits_days: 30