forked from e-kotov/metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.yml
91 lines (80 loc) · 1.87 KB
/
metadata.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
name: 🎭 Comment reactions
category: github
description: |
This plugin displays overall user reactions on recent issues, comments and discussions.
examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.reactions.svg
index: 10
supports:
- user
scopes:
- public_access
inputs:
plugin_reactions:
description: |
Enable reactions plugin
type: boolean
default: no
plugin_reactions_limit:
description: |
Display limit (issues and pull requests comments)
type: number
default: 200
min: 0
max: 1000
plugin_reactions_limit_issues:
description: |
Display limit (issues and pull requests, first comment)
type: number
default: 100
min: 0
max: 1000
plugin_reactions_limit_discussions:
description: |
Display limit (discussions, first comment)
type: number
default: 100
min: 0
max: 1000
plugin_reactions_limit_discussions_comments:
description: |
Display limit (discussions comments)
type: number
default: 100
min: 0
max: 1000
plugin_reactions_days:
description: |
Comments maximum age
type: number
default: 0
min: 0
zero: disable
plugin_reactions_display:
description: |
Display mode
- `absolute`: scale percentages using total reactions count
- `relative`: scale percentages using highest reaction count
type: string
default: absolute
values:
- absolute
- relative
plugin_reactions_details:
description: |
Additional details
type: array
format: comma-separated
default: ""
example: count, percentage
values:
- count
- percentage
plugin_reactions_ignored:
description: |
Ignored users
Can be used to ignore bots activity
type: array
format: comma-separated
default: ""
inherits: users_ignored