Skip to content

Metrics

Metrics #213

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 12 * * *"}]
# 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:
# 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.METRICS_TOKEN }}
# Options
user: JOJ0
template: classic
base: header, activity, community, repositories, metadata
config_timezone: Europe/Vienna
plugin_followup: yes
plugin_followup_sections: user, repositories
plugin_discussions: yes
plugin_reactions: yes
plugin_habits: yes
plugin_habits_charts_type: classic
plugin_habits_days: 365
plugin_habits_facts: yes
plugin_habits_from: 500
plugin_habits_languages_limit: 8
plugin_habits_languages_threshold: 0%