Skip to content

Metrics

Metrics #5057

# Visit https://github.com/lowlighter/metrics#-documentation for full reference
name: Metrics
on:
# Schedule updates (each hour)
schedule: [{cron: "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
environment:
name: Production
permissions:
contents: write
steps:
- uses: Tofpu/metrics@master
with:
# Your GitHub token
# The following scopes are required:
# - public_access (default scope)
# - repo
# 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.METRICS_TOKEN }}
# Options
user: Tofpu
template: classic
base: header, activity, community, repositories, metadata
config_timezone: Africa/Cairo
plugin_achievements: yes
plugin_achievements_display: detailed
plugin_achievements_secrets: yes
plugin_achievements_threshold: C
plugin_activity: yes
plugin_activity_days: 14
plugin_activity_filter: all
plugin_activity_limit: 5
plugin_activity_load: 300
plugin_activity_skipped: Tofpu
plugin_activity_timestamps: yes
plugin_activity_visibility: public
plugin_code: yes
plugin_code_days: 3
plugin_code_lines: 12
plugin_code_load: 400
plugin_code_skipped: Tofpu
plugin_code_visibility: public
plugin_followup: yes
plugin_followup_archived: yes
plugin_followup_sections: repositories
plugin_habits: yes
plugin_habits_charts: 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_notable: yes
plugin_notable_from: organization
plugin_notable_types: commit
plugin_repositories: yes
plugin_repositories_featured: speedbridge2, migratio
plugin_repositories_order: featured, pinned, starred, random
plugin_traffic: yes