This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCODEOWNERS
68 lines (53 loc) · 3.04 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
# ==================================================================================
# ==================================================================================
# Deriv V2 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)
# ================================================
# @mohsen-deriv
# prince-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)
# ==============================================================
* @mohsen-deriv @prince-deriv
# ==============================================================
# deriv-com-v2/config
# ==============================================================
/.github/**/* @mohsen-deriv
/.husky/* @mohsen-deriv