Skip to content

Metrics

Metrics #18121

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 * * * *" }]
# 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: alazymeme
template: terminal
base: header, activity, community, repositories, metadata
config_timezone: Australia/Brisbane
plugin_introduction: yes
plugin_introduction_title: yes
plugin_lines: yes
plugin_lines_history_limit: 1
plugin_lines_repositories_limit: 4
plugin_lines_sections: base
plugin_tweets: yes
plugin_tweets_attachments: yes
plugin_tweets_limit: 2
plugin_tweets_user: .user.twitter