-
-
Notifications
You must be signed in to change notification settings - Fork 0
112 lines (105 loc) · 3.5 KB
/
metrics.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name: Get Metrics
on:
schedule: [{ cron: "*/5 * * * *" }]
workflow_dispatch:
push: { branches: ["master", "main"] }
jobs:
github-metrics:
name: Github metrics
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
- name: Classic
uses: lowlighter/metrics@latest
with:
user: hoangsvit
filename: img/classic.svg
optimize: svg
experimental_features: --optimize-svg
token: ${{ secrets.METRICS_TOKEN }}
base: header, activity, community, repositories, metadata
config_timezone: Asia/Saigon
plugin_lines: yes
- name: Achievements Compact display
uses: lowlighter/metrics@latest
with:
user: hoangsvit
filename: img/achievements.compact.svg
optimize: svg
experimental_features: --optimize-svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_achievements: yes
plugin_achievements_only: >-
polyglot, stargazer, sponsor, deployer, member, maintainer, developer, scripter, packager, explorer, infographile, manager
plugin_achievements_display: compact
plugin_achievements_threshold: X
- name: Recent activity
uses: lowlighter/metrics@latest
with:
filename: img/activity.svg
optimize: svg
experimental_features: --optimize-svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_activity: yes
plugin_activity_limit: 5
plugin_activity_days: 0
config_timezone: Asia/Saigon
- name: Followers
uses: lowlighter/metrics@latest
with:
user: hoangsvit
filename: img/people.followers.svg
optimize: svg
experimental_features: --optimize-svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_people: yes
plugin_people_types: followers
- name: Languages most used
uses: lowlighter/metrics@latest
with:
filename: img/languages.svg
optimize: svg
experimental_features: --optimize-svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
- name: WakaTime
uses: lowlighter/metrics@latest
with:
filename: img/wakatime.svg
optimize: svg
experimental_features: --optimize-svg
plugin_wakatime_days: 365
token: NOT_NEEDED
base: ""
plugin_wakatime: yes
plugin_wakatime_sections: time, projects, projects-graphs, languages, languages-graphs, editors, os
plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }}
- name: LeetCode
uses: lowlighter/metrics@latest
with:
filename: img/leetcode.svg
optimize: svg
experimental_features: --optimize-svg
token: NOT_NEEDED
base: ""
plugin_leetcode_user: hoangsvit
plugin_leetcode: yes
plugin_leetcode_sections: solved, skills, recent
- name: PageSpeed to eplus.dev
uses: lowlighter/metrics@latest
with:
filename: img/pagespeed-eplus.dev.svg
optimize: svg
experimental_features: --optimize-svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://eplus.dev