forked from mxnmxn/MOM-Brain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCONTRIBUTION.yml
78 lines (61 loc) · 2.12 KB
/
CONTRIBUTION.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
---
name: "MOM-Brain contribution process file"
description: |
This file describes who runs the MOM-Brain project and how.
This is a living document - if you see something out of date or missing, speak up!
It is structured do be consumable by both humans and programs
To extract it's contents use any YAML-compliant parser
rules:
- Do not violate policy
policy:
- action: accept pull request if it affects this file
performed_only_if:
- who: CI
state: CI passed
- who: ptl
state: add comment "+1"
- who: more than 50% of core
state: add comment "+1"
- OR:
- who: nobody from core
state: add comment "-1"
- who: more than 75% of core
state: add comment "+1"
- action: accept pull request if it affect any file in repo
performed_only_if:
- who: CI
state: passed
- who: ptl
state: didn't add comment "-1"
- who: more than 50% of core
state: add comment "+1"
- OR:
- who: nobody from core
state: add comment "-1"
- who: more than 75% of core
state: add comment "+1"
- action: removal of member from team
performed_only_if:
- OR:
- who: team member
state: Violation of rules from more than 2 times / year
- who: team member
state: No activity for more than 1 month
- who: team member
state: Team member wants to leave team
teams:
ptl:
description: "Project team lead and community manager"
members:
- name: Boris Pavlovic
email: [email protected]
core:
description: |
Core maintainers of project that reviews changes in project,
provide feedback, help newbies and actually vote whatever pull
request should be accepted or not
members:
- name: Boris Pavlovic
email: [email protected]
- name: Chris Keene
email: [email protected]