Skip to content

Profile Intelligence Hub #1759

Profile Intelligence Hub

Profile Intelligence Hub #1759

Workflow file for this run

# Visit https://github.com/lowlighter/metrics#-documentation for full reference
name: Metrics
on:
# Schedule updates (every 3 hours)
schedule: [{cron: "0 */3 * * *"}]
# 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
concurrency:
group: metrics-update
cancel-in-progress: true
steps:
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.cache
key: ${{ runner.os }}-cache-${{ hashFiles('**/lockfiles') }}
- uses: lowlighter/metrics@latest
with:
# Your GitHub token
# The following scopes are required:
# - public_access (default scope)
# - read:user
# - read:org
# - 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.GITHUB_TOKEN }}
# Options
user: paranjayy
template: classic
base: header, activity, community, repositories, metadata
config_timezone: Asia/Calcutta
plugin_gists: yes
plugin_habits: yes
plugin_habits_charts_type: classic
plugin_habits_days: 14
plugin_habits_facts: yes
plugin_habits_from: 200
plugin_languages: yes
plugin_languages_limit: 8
plugin_languages_threshold: 0%
plugin_languages_colors: github
plugin_languages_sections: most-used
plugin_topics: yes
plugin_topics_limit: 15
plugin_topics_mode: starred
plugin_topics_sort: stars
plugin_traffic: yes