-
Notifications
You must be signed in to change notification settings - Fork 687
/
config.yaml
186 lines (186 loc) · 8.11 KB
/
config.yaml
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
version: 0.0.1
actions:
- action:
type: point
name: docs_dash_pr_submitted
triggers:
- trigger:
actor: author
action: pull_request
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& labels in {'2024-tidb-docs-dash','contribution'}"
value: 4
- action:
type: point
name: docs_dash_pr_merged
triggers:
- trigger:
actor: author
action: pull_request
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& merged = true & merged_at <= 2024-02-01 20:00:00
& labels in {'2024-tidb-docs-dash','contribution'}"
value: 10
- action:
type: point
name: docs_dash_issue_contribution
triggers:
- trigger:
actor: author
action: issue_comment
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& labels in {'2024-tidb-docs-dash'}
& emojis in ['THUMBS_UP']
& reactors in ['rpaik', 'lilin90', 'qiancai', 'hfxsd', 'ran-huang', 'Oreoxmt','Yan-yyCL','dveeden']"
value: 2
- action:
type: point
name: issue_contribution
triggers:
- trigger:
actor: author
action: issue_comment
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& emojis in ['THUMBS_UP']
& reactors in ['rpaik', 'lilin90', 'qiancai', 'hfxsd', 'ran-huang', 'Oreoxmt','Yan-yyCL','dveeden']
& labels in !['2024-tidb-docs-dash']"
value: 1
- action:
type: point
name: pr_submitted
triggers:
- trigger:
actor: author
action: pull_request
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& labels in !['2024-tidb-docs-dash']
& labels in ['contribution']"
value: 2
- action:
type: point
name: pr_merged
triggers:
- trigger:
actor: author
action: pull_request
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& merged = true & merged_at <= 2024-02-01 20:00:00
& labels in !['2024-tidb-docs-dash']
& labels in ['contribution']"
value: 5
- action:
type: point
name: issue_created
triggers:
- trigger:
actor: author
action: issue
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& labels in ['contribution']
& emojis in ['THUMBS_UP']
& reactors in ['rpaik', 'lilin90', 'qiancai', 'hfxsd', 'ran-huang', 'Oreoxmt','Yan-yyCL','dveeden']"
value: 1
- action:
type: point
name: bonus_issue_comment
triggers:
- trigger:
actor: author
action: issue_comment
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& emojis in ['THUMBS_UP']
& reactors in ['rpaik', 'lilin90', 'qiancai', 'hfxsd', 'ran-huang', 'Oreoxmt','Yan-yyCL','dveeden']
& labels in ['tidb-docs-dash-bonus']"
value: 5
- action:
type: point
name: bonus_pr
triggers:
- trigger:
actor: author
action: pull_request
condition:
"created_at >= 01-09-2024 08:00:00 & created_at <= 01-12-2024 07:59:00
& labels in {'contribution','tidb-docs-dash-bonus'}"
value: 20
achievements:
- achievement:
name: Docs Dash 1st Place
icon: https://raw.githubusercontent.com/pingcap/docs/master/.vaunt/1st_place.png
description: 1st place contributor award for Docs Dash!
type: once
metadata:
date: 01-27-2024
triggers:
- trigger:
actor: author
action: point
condition: rank(1) & sum(docs_dash_pr_submitted, docs_dash_pr_merged, docs_dash_issue_contribution, pr_submitted, pr_merged, issue_contribution, issue_created, bonus_issue_comment, bonus_pr)
- achievement:
name: Docs Dash 2nd Place
icon: https://raw.githubusercontent.com/pingcap/docs/master/.vaunt/2nd_place.png
description: 2nd place contributor award for Docs Dash!
type: once
metadata:
date: 01-27-2024
triggers:
- trigger:
actor: author
action: point
condition: rank(2) & sum(docs_dash_pr_submitted, docs_dash_pr_merged, docs_dash_issue_contribution, pr_submitted, pr_merged, issue_contribution, issue_created, bonus_issue_comment, bonus_pr)
- achievement:
name: Docs Dash 3rd Place
icon: https://raw.githubusercontent.com/pingcap/docs/master/.vaunt/3rd_place.png
description: 3rd place contributor award for Docs Dash!
type: once
metadata:
date: 01-27-2024
triggers:
- trigger:
actor: author
action: point
condition: rank(3) & sum(docs_dash_pr_submitted, docs_dash_pr_merged, docs_dash_issue_contribution, pr_submitted, pr_merged, issue_contribution, issue_created, bonus_issue_comment, bonus_pr)
- achievement:
name: Docs Dash 4th Place
icon: https://raw.githubusercontent.com/pingcap/docs/master/.vaunt/4th_place.png
description: 4th place contributor award for Docs Dash!
type: once
metadata:
date: 01-27-2024
triggers:
- trigger:
actor: author
action: point
condition: rank(4) & sum(docs_dash_pr_submitted, docs_dash_pr_merged, docs_dash_issue_contribution, pr_submitted, pr_merged, issue_contribution, issue_created, bonus_issue_comment, bonus_pr)
- achievement:
name: Docs Dash 5th Place
icon: https://raw.githubusercontent.com/pingcap/docs/master/.vaunt/5th_place.png
description: 5th place contributor award for Docs Dash!
type: once
metadata:
date: 01-27-2024
triggers:
- trigger:
actor: author
action: point
condition: rank(5) & sum(docs_dash_pr_submitted, docs_dash_pr_merged, docs_dash_issue_contribution, pr_submitted, pr_merged, issue_contribution, issue_created, bonus_issue_comment, bonus_pr)
- achievement:
name: Contributor
icon: https://raw.githubusercontent.com/pingcap/docs/master/.vaunt/contributor.png
description: Contributor award for Docs Dash!
type: once
metadata:
date: 01-27-2024
triggers:
- trigger:
actor: author
action: point
condition: sum(docs_dash_pr_submitted, docs_dash_pr_merged, docs_dash_issue_contribution, pr_submitted, pr_merged, issue_contribution, issue_created, bonus_issue_comment, bonus_pr) >= 1