Skip to content

Refresh Metrics

Refresh Metrics #355

Workflow file for this run

name: Refresh Metrics
on:
schedule:
- cron: '0 0 * * *'
workflow_call:
secrets:
METRICS_TOKEN:
required: true
PAGESPEED_TOKEN:
required: true
STEAM_TOKEN:
required: true
STEAM_UID:
required: true
jobs:
github-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
# Options
user: HuangFuSL
template: classic
base: header, activity, community, repositories, metadata
base_indepth: yes
config_timezone: Asia/Shanghai
commits_authoring: firstname lastname, username
plugin_activity_days: 14
plugin_activity_filter: pr, release, fork, review, ref/create, comment
plugin_activity_limit: 5
plugin_activity_load: 300
plugin_activity_visibility: public
plugin_activity: yes
plugin_habits_charts_type: classic
plugin_habits_charts: yes
plugin_habits_days: 14
plugin_habits_facts: no
plugin_habits_from: 200
plugin_habits_languages_limit: 8
plugin_habits_languages_threshold: 0%
plugin_habits: yes
plugin_introduction_title: yes
plugin_introduction: yes
plugin_isocalendar_duration: full-year
plugin_isocalendar: yes
plugin_languages_analysis_timeout: 15
plugin_languages_colors: github
plugin_languages_details: bytes-size, percentage
plugin_languages_ignored: html, css
plugin_languages_limit: 8
plugin_languages_sections: most-used
plugin_languages_threshold: 5%
plugin_languages: yes
plugin_lines_history_limit: 1
plugin_lines_repositories_limit: 4
plugin_lines_sections: base
plugin_lines: yes
plugin_pagespeed_detailed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: blog.huangfusl.net
plugin_pagespeed: yes
plugin_stars_limit: 4
plugin_stars: yes
plugin_steam_achievements_limit: 5
plugin_steam_games_limit: 2
plugin_steam_sections: player, most-played
plugin_steam_token: ${{ secrets.STEAM_TOKEN }}
plugin_steam_user: ${{ secrets.STEAM_UID }}
plugin_steam: yes
plugin_topics_limit: 15
plugin_topics_mode: icons
plugin_topics_sort: stars
plugin_topics: yes
plugin_traffic: yes
# Outputs
committer_branch: gh-pages
filename: metrics.*