-
Notifications
You must be signed in to change notification settings - Fork 1
84 lines (80 loc) · 2.67 KB
/
metric.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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.*