generated from seanpm2001/Git-Template_V8
-
-
Notifications
You must be signed in to change notification settings - Fork 1
418 lines (417 loc) Β· 16.4 KB
/
github-stats-b.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
# Licensed under The Unlicense
# Feel free to reuse, edit and redistribute this workflow as you wish, no credits needed
# See https://github.com/lowlighter/metrics for documentation about how to use metrics action
name: GitHub Metrics (Lowlighter) daily run for @seanpm2001
on:
# π Think about the planet! No need to update stats too frequently (this will run once per day at 1:00 pm PST)
schedule: [{cron: "0 13 * * *"}]
# π‘ The following line lets you run workflow manually from the action tab!
workflow_dispatch: # Not needed
# 25 steps
# βοΈ @seanpm2001 GitHub General
# π«οΈ @seanpm2001 GitHub Achievements
# ποΈ @seanpm2001 GitHub Stargazer graph βοΈ
# ποΈ @seanpm2001 GitHub Stargazers chart βοΈ
# π³οΈ @seanpm2001 GitHub Licenses and permissions
# ποΈ @seanpm2001 GitHub Licenses with open-source ratio graphs π³οΈ
# π @seanpm2001 GitHub Sponsorships
# ποΈ @seanpm2001 GitHub heatmap Current year calendar
# ποΈ @seanpm2001 GitHub heatmap Full history calendar
# π¦οΈ @Seanpm2001 GitHub Repositories traffic
# ποΈ @seanpm2001 GitHub Skyline (2020)
# ποΈ @seanpm2001 GitHub Skyline (2021)
# ποΈ @seanpm2001 GitHub Skyline (2022)
# ποΈ @seanpm2001 GitHub Skyline (2023)
# ποΈ @seanpm2001 GitHub Skyline (2024)
# ποΈ @seanpm2001 GitHub City (2020)
# ποΈ @seanpm2001 GitHub City (2021)
# ποΈ @seanpm2001 GitHub City (2022)
# ποΈ @seanpm2001 GitHub City (2023)
# ποΈ @seanpm2001 GitHub City (2024)
# π·οΈ @seanpm2001 GitHub starred Labels βοΈ
# ποΈ @seanpm2001 GitHub starred topics Icons βοΈ
# π
οΈ @seanpm2001 GitHub Half-year isometric calendar π³οΈ
# π
οΈ @seanpm2001 GitHub Full-year isometric calendar π³οΈ
# π¬οΈ @seanpm2001 GitHub Discussions π¨οΈ
# If the workflow fails, remove this line from every section except for step 1, 2, and 7
# Future todo: keep an updated fork and switch: uses: lowlighter/metrics@latest to seanpm2001/Lowlighter_Metrics@latest
# Should export to 25 separate SVG files
jobs:
metrics:
runs-on: ubuntu-latest
steps:
# Step 1
- uses: lowlighter/metrics@latest
- name: βοΈ @seanpm2001 GitHub General
uses: lowlighter/metrics@latest
# if: ${{ success() || failure() }}
with:
filename: GitHub_Stats_B_GitHub_Languages.svg
token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
base: header
base_indepth: yes
config_order: base.header, isocalendar, languages, notable, discussions, topics
output_action: gist
committer_gist: ${{ secrets.GIST }}
plugin_isocalendar: yes
plugin_languages: yes
plugin_languages_details: lines, bytes-size, percentage
plugin_languages_sections: most-used, recently-used
plugin_languages_indepth: yes
plugin_languages_limit: 2
plugin_topics: yes
plugin_topics_limit: 0
plugin_topics_mode: icons
plugin_notable: yes
plugin_discussions: yes
# Step 2
- uses: lowlighter/metrics@latest
- name: π«οΈ @seanpm2001 GitHub Achievements
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Achievements.svg
token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
base: ""
output_action: gist
committer_gist: ${{ secrets.GIST }}
plugin_achievements: yes
plugin_achievements_display: compact
plugin_fortune: yes
# Step 3
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub Stargazer graph βοΈ
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Stargazers_Graph.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
plugin_stargazers_charts_type: graph
# Step 4
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub Stargazers chart βοΈ
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Stargazers_Chart.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
# Step 5
- uses: lowlighter/metrics@latest
- name: π³οΈ @seanpm2001 GitHub Licenses and permissions
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Licenses_Overview.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
template: repository
repo: metrics
plugin_licenses: yes
plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true'
# Step 6
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub Licenses with open-source ratio graphs π³οΈ
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Licenses_Ratio.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
template: repository
repo: metrics
plugin_licenses: yes
plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true'
plugin_licenses_legal: no
plugin_licenses_ratio: yes
# Step 7
- uses: lowlighter/metrics@latest
- name: π @seanpm2001 GitHub Sponsorships
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Sponsorships.svg
token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
base: ""
plugin_sponsorships: yes
# Step 8
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub heatmap Current year calendar
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Calendar_2024.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_calendar: yes
# Step 9
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub heatmap Full history calendar
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Calendar_2020-Present.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_calendar: yes
plugin_calendar_limit: 0
# Step 10
- uses: lowlighter/metrics@latest
- name: π¦οΈ @Seanpm2001 GitHub Repositories traffic
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_GitHub_Repository_Traffic.svg
token: ${{ secrets.METRICS_TOKEN }}
base: repositories
plugin_traffic: yes
# Step 11
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub Skyline (2020)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2020.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2020
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 12
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub Skyline (2021)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2021.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2021
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 13
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub Skyline (2022)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2022.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2022
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 14
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub Skyline (2023)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2023.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2023
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 15
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub Skyline (2024)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_Skyline_2024.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2024
plugin_skyline_frames: 6
plugin_skyline_quality: 1
# Step 16
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub City (2020)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2020.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2020
plugin_skyline_frames: 6
plugin_skyline_quality: 1
plugin_skyline_settings: |
{
"url": "https://honzaap.github.io/GithubCity?name=${login}&year=${year}",
"ready": "[...document.querySelectorAll('.display-info span')].map(span => span.innerText).includes('${login}')",
"wait": 4,
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 17
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub City (2021)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2021.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2021
plugin_skyline_frames: 6
plugin_skyline_quality: 1
plugin_skyline_settings: |
{
"url": "https://honzaap.github.io/GithubCity?name=${login}&year=${year}",
"ready": "[...document.querySelectorAll('.display-info span')].map(span => span.innerText).includes('${login}')",
"wait": 4,
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 18
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub City (2022)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2022.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2022
plugin_skyline_frames: 6
plugin_skyline_quality: 1
plugin_skyline_settings: |
{
"url": "https://honzaap.github.io/GithubCity?name=${login}&year=${year}",
"ready": "[...document.querySelectorAll('.display-info span')].map(span => span.innerText).includes('${login}')",
"wait": 4,
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 19
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub City (2023)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2023.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2023
plugin_skyline_frames: 6
plugin_skyline_quality: 1
plugin_skyline_settings: |
{
"url": "https://honzaap.github.io/GithubCity?name=${login}&year=${year}",
"ready": "[...document.querySelectorAll('.display-info span')].map(span => span.innerText).includes('${login}')",
"wait": 4,
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 20
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub City (2024)
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_City_2024.svg
token: NOT_NEEDED
base: ""
plugin_skyline: yes
plugin_skyline_year: 2024
plugin_skyline_frames: 6
plugin_skyline_quality: 1
plugin_skyline_settings: |
{
"url": "https://honzaap.github.io/GithubCity?name=${login}&year=${year}",
"ready": "[...document.querySelectorAll('.display-info span')].map(span => span.innerText).includes('${login}')",
"wait": 4,
"hide": ".github-corner, .footer-link, .buttons-options, .mobile-rotate, .display-info span:first-child"
}
# Step 21
- uses: lowlighter/metrics@latest
- name: π·οΈ @seanpm2001 GitHub starred Labels βοΈ
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_StarredTopics_Labels_20.svg
token: NOT_NEEDED
base: ""
plugin_topics: yes
plugin_topics_limit: 20
# Step 22
- uses: lowlighter/metrics@latest
- name: ποΈ @seanpm2001 GitHub starred topics Icons βοΈ
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_StarredTopics_Icons_60.svg
token: NOT_NEEDED
base: ""
plugin_topics: yes
plugin_topics_limit: 60
plugin_topics_mode: icons
# Step 23
- uses: lowlighter/metrics@latest
- name: π
οΈ @seanpm2001 GitHub Half-year isometric calendar π³οΈ
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_HalfYear_IsometricCalendar.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_isocalendar: yes
# Step 24
- uses: lowlighter/metrics@latest
- name: π
οΈ @seanpm2001 GitHub Full-year isometric calendar π³οΈ
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001_GitHub_FullYear_IsometricCalendar.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_isocalendar: yes
plugin_isocalendar_duration: full-year
# Step 25
- uses: lowlighter/metrics@latest
- name: π¬οΈ @seanpm2001 GitHub Discussions π¨οΈ
uses: lowlighter/metrics@latest
with:
filename: GitHub_Stats_B_Seanpm2001-GitHub-Discussions.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_discussions: yes
plugin_discussions_categories_limit: 0
# - name: π¦ Splatoon
# - uses: lowlighter/metrics@latest
#
# with:
# filename: splatoon.svg
# token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
# base: ""
# output_action: gist
# committer_gist: ${{ secrets.GIST }}
# plugin_splatoon: yes
# plugin_splatoon_token: ${{ secrets.SPLATOON_TOKEN }}
# plugin_splatoon_statink: yes
# plugin_splatoon_statink_token: ${{ secrets.SPLATOON_STATINK_TOKEN }}
# plugin_splatoon_sections: salmon-run
# plugin_splatoon_salmon_limit: 2
# extras_css: |
# h2 { display: none !important; }
# .match:not(:last-child) { padding-bottom: 4px; }
# - name: π¦ Medias
#
# - uses: lowlighter/metrics@latest
# with:
# filename: medias.svg
# token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
# base: ""
# config_order: anilist, music
# output_action: gist
# committer_gist: ${{ secrets.GIST }}
# plugin_anilist: yes
# plugin_anilist_medias: anime
# plugin_anilist_sections: favorites, characters
# plugin_anilist_limit: 2
# plugin_anilist_limit_characters: 22
# plugin_music: yes
# plugin_music_playlist: ${{ secrets.PLAYLIST }}
# plugin_music_limit: 9
# - name: π¦ Sponsors
#
# - uses: lowlighter/metrics@latest
# with:
# filename: sponsors.svg
# token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
# base: ""
# output_action: gist
# committer_gist: ${{ secrets.GIST }}
# plugin_sponsors: yes
# plugin_sponsors_past: yes
# plugin_sponsorships: yes
# plugin_sponsorships_sections: amount
# File info
# File version: 5 (2024, Wednesday, March 27th at 04:50 pm PST)