-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
1394 lines (1385 loc) · 48.6 KB
/
examples.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
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# THIS WORKFLOW IS AUTO-GENERATED
name: Publish examples
on:
schedule:
- cron: "0 8 1/2 * *"
workflow_dispatch:
workflow_call:
secrets:
METRICS_TOKEN:
required: true
METRICS_TOKEN_WITH_SCOPES:
required: true
METRICS_TOKEN_PERSONAL:
required: true
CHESS_TOKEN:
required: true
PAGESPEED_TOKEN:
required: true
GOOGLE_MAP_TOKEN:
required: true
SPLATOON_TOKEN:
required: true
SPLATOON_STATINK_TOKEN:
required: true
SIXTEEN_PERSONALITIES_URL:
required: true
SPOTIFY_TOKENS:
required: true
STOCK_TOKEN:
required: true
TWITTER_TOKEN:
required: true
WAKATIME_TOKEN:
required: true
jobs:
# ======================================================================================
# Examples renders
# ======================================================================================
examples:
runs-on: ubuntu-latest
if: "github.repository == 'lowlighter/metrics'"
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout examples
run: git checkout examples
- name: 🗃️ Base content - Default metrics
uses: lowlighter/metrics@master
with:
filename: metrics.base.svg
token: ${{ secrets.METRICS_TOKEN }}
base: header, activity, community, repositories, metadata
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🧱 Core - Organization
uses: lowlighter/metrics@master
with:
filename: metrics.organization.svg
user: github
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
base: header, repositories
output_action: none
delay: 120
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🧱 Core - Large display
uses: lowlighter/metrics@master
with:
filename: metrics.large.svg
token: ${{ secrets.METRICS_TOKEN }}
config_display: large
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🧱 Core - JSON metrics
if: ${{ success() || failure() }}
uses: lowlighter/metrics@master
with:
filename: metrics.example.json
token: ${{ secrets.METRICS_TOKEN }}
config_output: json
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
- name: 🧱 Core - PNG metrics
if: ${{ success() || failure() }}
uses: lowlighter/metrics@master
with:
filename: metrics.example.png
token: ${{ secrets.METRICS_TOKEN }}
config_output: png
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
- name: 🧱 Core - Metrics insights
if: ${{ success() || failure() }}
uses: lowlighter/metrics@master
with:
filename: metrics.insights.html
token: ${{ secrets.METRICS_TOKEN }}
config_output: insights
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
- name: 🧱 Core - Plugin error example
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.error.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_projects: yes
plugins_errors_fatal: no
output_action: none
delay: 120
user: lowlighter
if: ${{ success() || failure() }}
- name: 📅 Isometric commit calendar - Half-year calendar
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.isocalendar.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_isocalendar: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📅 Isometric commit calendar - Full-year calendar
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.isocalendar.fullyear.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_isocalendar: yes
plugin_isocalendar_duration: full-year
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🈷️ Languages activity - Most used
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.languages.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
plugin_languages_ignored: >-
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
gnuplot
plugin_languages_limit: 4
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🈷️ Languages activity - Most used (with details)
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.languages.details.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
plugin_languages_ignored: >-
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
gnuplot
plugin_languages_details: bytes-size, percentage
plugin_languages_limit: 4
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🈷️ Languages activity - Recently used
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.languages.recent.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
plugin_languages_ignored: >-
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
gnuplot
plugin_languages_sections: recently-used
plugin_languages_details: bytes-size, percentage
plugin_languages_limit: 4
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🈷️ Languages activity - Indepth analysis
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.languages.indepth.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_languages: yes
plugin_languages_ignored: >-
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
gnuplot
plugin_languages_indepth: yes
plugin_languages_details: lines, bytes-size
plugin_languages_limit: 4
plugin_languages_analysis_timeout: 15
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ✨ Stargazers - Using classic charts
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.stargazers.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ✨ Stargazers - Using graph charts
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.stargazers.graph.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
plugin_stargazers_charts_type: graph
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ✨ Stargazers - With worldmap
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.stargazers.worldmap.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stargazers: yes
plugin_stargazers_charts: no
plugin_stargazers_worldmap: yes
plugin_stargazers_worldmap_token: ${{ secrets.GOOGLE_MAP_TOKEN }}
plugin_stargazers_worldmap_sample: 200
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 👨💻 Lines of code changed - Compact display in base plugin
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.lines.svg
token: ${{ secrets.METRICS_TOKEN }}
base: repositories
plugin_lines: yes
plugin_lines_delay: 30
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 👨💻 Lines of code changed - Repositories and diff history
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.lines.history.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_lines: yes
plugin_lines_delay: 30
plugin_lines_sections: repositories, history
plugin_lines_repositories_limit: 2
plugin_lines_history_limit: 1
repositories_skipped: |
@use.patterns
*/*
+lowlighter/metrics
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📌 Starred topics - Labels
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.topics.svg
token: NOT_NEEDED
base: ""
plugin_topics: yes
plugin_topics_limit: 12
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📌 Starred topics - Icons
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.topics.icons.svg
token: NOT_NEEDED
base: ""
plugin_topics: yes
plugin_topics_limit: 0
plugin_topics_mode: icons
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🌟 Recently starred repositories - Recently starred
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.stars.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_stars: yes
plugin_stars_limit: 3
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📜 Repository licenses - Licenses and permissions
with:
filename: metrics.plugin.licenses.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
template: repository
repo: metrics
plugin_licenses: yes
plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true'
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
uses: lowlighter/metrics@master
- name: 📜 Repository licenses - Licenses with open-source ratio graphs
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.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
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💡 Coding habits and activity - Mildly interesting facts
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.habits.facts.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_habits: yes
plugin_habits_facts: yes
plugin_habits_charts: no
config_timezone: Europe/Paris
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💡 Coding habits and activity - Recent activity charts
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.habits.charts.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_habits: yes
plugin_habits_facts: no
plugin_habits_charts: yes
config_timezone: Europe/Paris
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🏅 Repository contributors - Contributors with contributions count
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.contributors.contributions.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
template: repository
repo: metrics
plugin_contributors: yes
plugin_contributors_contributions: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🏅 Repository contributors - Contributors by categories
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.contributors.categories.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
template: repository
repo: metrics
plugin_contributors: yes
plugin_contributors_sections: categories
plugin_contributors_categories: |
{
"🧩 Plugins / 🖼️ templates":["source/plugins/**", "source/templates/**"],
"📚 Documentation":["README.md", "**/README.md", "**/metadata.yml"],
"💻 Code (other)":["source/**", "Dockerfile"]
}
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎟️ Follow-up of issues and pull requests - Opened on user's repositories
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.followup.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_followup: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎟️ Follow-up of issues and pull requests - Opened by user
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.followup.user.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_followup: yes
plugin_followup_sections: user
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎟️ Follow-up of issues and pull requests - Indepth analysis
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.followup.indepth.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_followup: yes
plugin_followup_indepth: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎭 Comment reactions - Comment reactions
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.reactions.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_reactions: yes
plugin_reactions_limit: 100
plugin_reactions_details: percentage
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🧑🤝🧑 People - Followers
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.people.followers.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_people: yes
plugin_people_types: followers
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🧑🤝🧑 People - Contributors and sponsors
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.people.repository.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
template: repository
repo: metrics
plugin_people: yes
plugin_people_types: contributors, stargazers, watchers, sponsors
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💝 GitHub Sponsorships - 💝 GitHub Sponsorships
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.sponsorships.svg
token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
base: ""
plugin_sponsorships: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💕 GitHub Sponsors - Sponsors goal
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.sponsors.svg
token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
base: ""
plugin_sponsors: yes
plugin_sponsors_sections: goal, list
plugin_sponsors_past: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💕 GitHub Sponsors - Sponsors introduction
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.sponsors.full.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
base: ""
plugin_sponsors: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📓 Featured repositories - Featured repositories
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.repositories.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_repositories: yes
plugin_repositories_featured: lowlighter/metrics
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📓 Featured repositories - Pinned repositories
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.repositories.pinned.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_repositories: yes
plugin_repositories_pinned: 2
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💬 Discussions - GitHub Discussions
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.discussions.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_discussions: yes
plugin_discussions_categories_limit: 8
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💫 Star lists - Featured star list
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.starlists.svg
token: NOT_NEEDED
base: ""
plugin_starlists: yes
plugin_starlists_limit_repositories: 2
plugin_starlists_only: TC39
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💫 Star lists - Featured star list languages
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.starlists.languages.svg
token: NOT_NEEDED
base: ""
plugin_starlists: yes
plugin_starlists_languages: yes
plugin_starlists_limit_languages: 8
plugin_starlists_limit_repositories: 0
plugin_starlists_only: Awesome
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📆 Commit calendar - Current year calendar
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.calendar.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_calendar: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📆 Commit calendar - Full history calendar
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.calendar.full.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_calendar: yes
plugin_calendar_limit: 0
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🏆 Achievements - Detailed display
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.achievements.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_achievements: yes
plugin_achievements_only: sponsor, maintainer, octonaut
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🏆 Achievements - Compact display
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.achievements.compact.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
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎩 Notable contributions - Contributions
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.notable.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_notable: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎩 Notable contributions - Indepth analysis
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.notable.indepth.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_notable: yes
plugin_notable_indepth: yes
plugin_notable_repositories: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 📰 Recent activity - Recent activity
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.activity.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_activity: yes
plugin_activity_limit: 5
plugin_activity_days: 0
plugin_activity_filter: issue, pr, release, fork, review, ref/create
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🧮 Repositories traffic - Repositories traffic
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.traffic.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
base: repositories
plugin_traffic: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ♐ Random code snippet - JavaScript or TypeScript snippet of the day
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.code.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_code: yes
plugin_code_languages: javascript, typescript
plugin_code_load: 400
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎫 Gists - Gists
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.gists.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_gists: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🗂️ GitHub projects - Project from a repository
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.projects.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
base: ""
plugin_projects: yes
plugin_projects_repositories: lowlighter/metrics/projects/1
plugin_projects_descriptions: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🙋 Introduction - Organization introduction
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.introduction.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
user: github
base: header
plugin_introduction: yes
output_action: none
delay: 120
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🙋 Introduction - Repository introduction
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.introduction.repository.svg
token: ${{ secrets.METRICS_TOKEN }}
template: repository
repo: metrics
base: header
plugin_introduction: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ⏱️ Google PageSpeed - Succinct report
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.pagespeed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ⏱️ Google PageSpeed - Detailed report
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.pagespeed.detailed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_detailed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ⏱️ Google PageSpeed - Screenshot
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.pagespeed.screenshot.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_screenshot: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🗨️ Stack Overflow - Top answers from stackoverflow
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.stackoverflow.svg
token: NOT_NEEDED
base: ""
plugin_stackoverflow: yes
plugin_stackoverflow_user: 1
plugin_stackoverflow_sections: answers-top
plugin_stackoverflow_limit: 2
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: >-
🌸 Anilist watch list and reading list - Favorites anime and currently
watching
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.anilist.svg
token: NOT_NEEDED
base: ""
plugin_anilist: yes
plugin_anilist_medias: anime
plugin_anilist_sections: favorites, watching
plugin_anilist_limit: 1
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: >-
🌸 Anilist watch list and reading list - Favorites manga and currently
reading
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.anilist.manga.svg
token: NOT_NEEDED
base: ""
plugin_anilist: yes
plugin_anilist_medias: manga
plugin_anilist_sections: favorites, reading
plugin_anilist_limit: 1
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🌸 Anilist watch list and reading list - Favorites characters
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.anilist.characters.svg
token: NOT_NEEDED
base: ""
plugin_anilist: yes
plugin_anilist_sections: characters
plugin_anilist_limit_characters: 22
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎼 Music activity and suggestions - Apple Music - Random track from playlist
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.music.playlist.svg
token: NOT_NEEDED
base: ""
plugin_music: yes
plugin_music_playlist: https://embed.music.apple.com/fr/playlist/usr-share/pl.u-V9D7m8Etjmjd0D
plugin_music_limit: 2
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎼 Music activity and suggestions - Spotify - Random track from playlist
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.music.playlist.spotify.svg
token: NOT_NEEDED
base: ""
plugin_music: yes
plugin_music_playlist: https://open.spotify.com/embed/playlist/3nfA87oeJw4LFVcUDjRcqi
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎼 Music activity and suggestions - Spotify - Recently listed
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.music.recent.svg
token: NOT_NEEDED
base: ""
plugin_music: yes
plugin_music_provider: spotify
plugin_music_mode: recent
plugin_music_token: ${{ secrets.SPOTIFY_TOKENS }}
plugin_music_limit: 2
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎼 Music activity and suggestions - Spotify - Top tracks
uses: lowlighter/metrics@master
with:
token: NOT_NEEDED
base: ""
plugin_music: yes
plugin_music_mode: top
plugin_music_provider: spotify
plugin_music_token: ${{ secrets.SPOTIFY_TOKENS }}
plugin_music_time_range: short
plugin_music_top_type: tracks
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🎼 Music activity and suggestions - Spotify - Top artists
uses: lowlighter/metrics@master
with:
token: NOT_NEEDED
base: ""
plugin_music: yes
plugin_music_mode: top
plugin_music_provider: spotify
plugin_music_token: ${{ secrets.SPOTIFY_TOKENS }}
plugin_music_time_range: long
plugin_music_top_type: artists
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: >-
🎼 Music activity and suggestions - Youtube Music - Random track from
playlist
uses: lowlighter/metrics@master
with:
token: NOT_NEEDED
base: ""
plugin_music: yes
plugin_music_playlist: >-
https://music.youtube.com/playlist?list=OLAK5uy_kU_uxp9TUOl9zVdw77xith8o9AknVwz9U
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ✒️ Recent posts - Recent posts
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.posts.svg
token: NOT_NEEDED
base: ""