forked from binary-com/deriv-com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CODEOWNERS
Validating CODEOWNERS rules...
113 lines (84 loc) · 5.24 KB
/
CODEOWNERS
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
# ==================================================================================
# ==================================================================================
# Deriv CODEOWNERS
# ==================================================================================
# ==================================================================================
#
# Configuration of code ownership and review approvals for the binary-com/deriv-com repo.
#
# More info: https://help.github.com/articles/about-codeowners/
#
# ================================================
# General rules / philosophy
# ================================================
#
# - We trust that people do the right thing and not approve changes they don't feel confident reviewing
# - We use github teams so that we funnel code reviews to the most appropriate reviewer, this is why the team structure is fine-grained
# - We enforce that only approved PRs get merged to ensure that unreviewed code doesn't get accidentally merged
# - We delegate approval rights as much as possible so that we can scale better
# - Each group must have at least one person, but several people are preferable to avoid a single point of failure issues
#
# Configuration nuances:
#
# - This configuration works in conjunction with the protected branch settings that require all changes to be made via pull requests with at least one approval.
# - This approval can come from an appropriate codeowner, or any repo collaborator (person with write access) if the PR is authored by a codeowner.
# - Each codeowners team must have write access to the repo, otherwise their reviews won't count.
#
# In the case of emergency, the repo administrators can bypass this requirement.
# ================================================
# GitHub username registry
# (just to make this file easier to understand)
# ================================================
# habib-deriv
# prince-deriv
# yashim-deriv
######################################################################################################
#
# CODEOWNERS rules
# -----------------
#
# All the following rules are applied in the order specified in this file.
# The last rule that matches wins!
#
# See https://git-scm.com/docs/gitignore#_pattern_format for pattern syntax docs.
#
######################################################################################################
# ==============================================================
# Default Owners
# (in case no pattern matches a path in a PR - this should be treated as a bug and result in adding the path to CODEOWNERS)
# ==============================================================
* @habib-deriv @prince-deriv
# ==============================================================
# deriv-com/translations
# ==============================================================
/src/translations/* @habib-deriv @prince-deriv
/crowdin/* @habib-deriv @prince-deriv
/scripts/* @habib-deriv @prince-deriv
# ==============================================================
# deriv-com/config
# ==============================================================
/* @habib-deriv @yashim-deriv @prince-deriv
/.github/**/* @habib-deriv @yashim-deriv @prince-deriv
/.husky/* @habib-deriv @yashim-deriv @prince-deriv
# ==============================================================
# deriv-com/shared-components
# ==============================================================
/src/common/**/* @habib-deriv @yashim-deriv @prince-deriv
/src/components/**/* @habib-deriv @yashim-deriv @prince-deriv
/src/themes/**/* @habib-deriv @yashim-deriv @prince-deriv
# ==============================================================
# deriv-com/shared-assets
# ==============================================================
/src/images/**/* @habib-deriv @yashim-deriv @prince-deriv
/src/lotties/**/* @habib-deriv @yashim-deriv @prince-deriv
/static/**/* @habib-deriv @yashim-deriv @prince-deriv
/documents/**/* @habib-deriv @yashim-deriv @prince-deriv
/favicons/**/* @habib-deriv @yashim-deriv @prince-deriv
# ==============================================================
# deriv-com/pages
# ==============================================================
/src/pages/**/* @habib-deriv @yashim-deriv @prince-deriv
# ==============================================================
# deriv-com/academy
# ==============================================================
/src/pages/academy/**/* @mohammad-rework