Skip to content

Metrics

Metrics #10632

Workflow file for this run

name: Metrics
on:
# Schedule daily updates
schedule: [{cron: "*/30 * * * *"}]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
- name: Set up Git
run: |
git config --global user.name "salko-ua"
git config --global user.email "[email protected]"
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
# Options
user: salko-ua
config_timezone: Europe/Kyiv
# 🗃️ Base content
base: header, activity, repositories
plugin_lines: yes
plugin_traffic: yes
plugin_activity: yes
plugin_activity_visibility: public
plugin_introduction: yes
# 🈷️ Languages activity
plugin_languages: yes
plugin_languages_indepth: yes
plugin_languages_other: yes
plugin_languages_colors: rainbow
plugin_languages_sections: "recently-used,most-used"
plugin_languages_details: "bytes-size,percentage,lines"
plugin_languages_analysis_timeout: 60
plugin_languages_analysis_timeout_repositories: 15
plugin_languages_categories: "data,markup,programming,prose"
plugin_languages_recent_categories: "data,markup,programming,prose"
plugin_languages_limit: 8
# 🎩 Notable contributions
plugin_notable: yes
plugin_notable_filter: "stars>=1000"
plugin_notable_from: all
plugin_notable_repositories: yes
plugin_notable_indepth: yes
plugin_notable_types: "commit,pull_request,issue"
# 📅 Isometric commit calendar
plugin_isocalendar: yes
plugin_isocalendar_duration: half-year
# 🕹️ Steam
plugin_steam_token: ${{ secrets.STEAM_TOKEN }}
plugin_steam: yes
plugin_steam_user: "76561199199943546"
plugin_steam_sections: player, recently-played
# 🏆 Achievements
plugin_achievements: yes
plugin_achievements_display: compact
plugin_achievements_threshold: C
# ⏱️ Google PageSpeed
plugin_pagespeed: yes
plugin_pagespeed_url: "https://salko-ua.de"