-
Notifications
You must be signed in to change notification settings - Fork 4
164 lines (154 loc) · 4.48 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
name: Metrics
on:
# Schedule daily updates
schedule: [{ cron: '0 0 * * *' }]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
# push: { branches: ['master', 'main'] }
jobs:
github:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
# wakatime:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: WakaTime
# uses: lowlighter/metrics@latest
# with:
# filename: metrics.plugin.wakatime.svg
# token: NOT_NEEDED
# base: ''
# plugin_wakatime: yes
# plugin_wakatime_days: 365
# plugin_wakatime_sections: time, projects, projects-graphs, languages, languages-graphs, editors, os
# plugin_wakatime_token: ${{ secrets.WAKATIME_TOKEN }}
# labels:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: Labels
# uses: lowlighter/metrics@latest
# with:
# filename: metrics.plugin.topics.svg
# token: NOT_NEEDED
# base: ''
# plugin_topics: yes
# plugin_topics_limit: 12
# icons:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: Icons
# uses: lowlighter/metrics@latest
# with:
# filename: metrics.plugin.topics.icons.svg
# token: NOT_NEEDED
# base: ''
# plugin_topics: yes
# plugin_topics_limit: 0
# plugin_topics_mode: icons
leetcode:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: LeetCode
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.leetcode.svg
token: NOT_NEEDED
base: ''
plugin_leetcode: yes
plugin_leetcode_sections: solved, skills, recent
# snippets:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: Snippets
# uses: lowlighter/metrics@latest
# with:
# filename: metrics.plugin.code.svg
# token: ${{ secrets.METRICS_TOKEN }}
# base: ''
# plugin_code: yes
# plugin_code_languages: solidity, typescript, rust, go
# plugin_code_load: 400
activity:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Recent activity
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.activity.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ''
plugin_activity: yes
plugin_activity_limit: 5
plugin_activity_timestamps: yes
contributions:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Contributions
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.notable.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ''
plugin_notable: yes
plugin_notable_types: commit, pull_request, issue
# followers:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: Followers
# uses: lowlighter/metrics@latest
# with:
# filename: metrics.plugin.people.followers.svg
# token: ${{ secrets.METRICS_TOKEN }}
# base: ''
# plugin_people: yes
# plugin_people_types: followers
# repositories:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: Repositories traffic
# uses: lowlighter/metrics@latest
# with:
# filename: metrics.plugin.traffic.svg
# token: ${{ secrets.METRICS_TOKEN }}
# base: repositories
# plugin_traffic: yes
# languages:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# steps:
# - name: Most used languages
# uses: lowlighter/metrics@latest
# with:
# filename: metrics.plugin.languages.svg
# token: ${{ secrets.METRICS_TOKEN }}
# base: ''
# plugin_languages: yes
# plugin_languages_ignored: >-
# html, css, scss, javascript, python, vue, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
# gnuplot, php, handlebars, jupyter network
# plugin_languages_limit: 5