Skip to content

Metrics

Metrics #4072

Workflow file for this run

name: Metrics
on:
# Schedule updates (each hour)
schedule: [{cron: "0 */24 * * *"}]
# Lines below let you run workflow manually and on each commit (optional)
workflow_dispatch:
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
steps:
# See action.yml for all options
- uses: lowlighter/metrics@latest
with:
plugin_languages: yes
plugin_languages_ignored: html, css
plugin_languages_aliases: "JavaScript:JS, TypeScript:TS, ..."
plugin_la nguages_threshold: 2%
plugin_languages_limit: 6
plugin_languages_sections: most-used
plugin_languages_indepth: no
plugin_wakatime: no
plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }} # Required
plugin_wakatime_days: 7 # Display last week stats
plugin_wakatime_sections: time, projects, projects-graphs,languages, languages-graphs, # Display time and projects sections, along with projects graphs
plugin_wakatime_limit: 5 # Show 4 entries per graph
plugin_wakatime_url: https://wakatime.com # Wakatime url endpoint
plugin_wakatime_user: .user.login # User
plugin_achievements: yes
plugin_achievements_secrets: yes
plugin_achievements_threshold: B
plugin_achievements_ignored: octonaut # Hide octonaut achievement
plugin_people: yes
plugin_people_types: followers, thanks # Display followers and "thanks" sections
plugin_people_limit: 15
plugin_people_size: 28 # Size in pixels of displayed avatars
plugin_people_identicons: no # Use avatars (do not use identicons)
plugin_people_thanks: joelgiaufer
repositories_affiliations: owner, collaborator, organization_member
# Your GitHub token
token: ${{ secrets.METRICS_TOKEN }}