-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCODEOWNERS
62 lines (52 loc) · 3.63 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
# =====================================================================================================================
# Code Owners - Explicit individuals or teams responsible for specified code in repository
#
# INSTRUCTIONS:
# -------------
# Every line is a a rule, a file pattern that is followed by one or more Code Owners, e.g. dir/pattern*/** @Owner
# Code Owners identifiers use Bitbucket's display name or nickname to identify owners (usually full name or fLast).
# - Hint: Type someone's name on a Bitbucket PR using '@', the popup shows both the display name and nickname
# - Example: "Andres Breton" or abreton
# - For clarity, try to use the full name when setting Code Owners, e.g. @"Andres Breton"
#
# Glob patterns with spaces must be enclosed in double quotes "", e.g. "path with spaces/*". This will be rare.
#
# Ordering is IMPORTANT! The last matching file pattern (for same file) has the highest precedence.
# The users specified here are not the only ones that can be added as a reviewer. These are simply ones that the
# system will automatically add. You can always add others when creating, or after creating a PR.
#
# =====================================================================================================================
# ---------------------------------------------------------------------------------------------------------------------
# GROUPS
# Bitbucket groups (https://bitbucket.org/modernatx/workspace/settings/groups) can be utilized:
# - Group declarations need to start with '@@', e.g. @@GroupName
# - User and group names with spaces must be enclosed with double quotes "", e.g. @@"Group Name"
# Custom Code Owners groups can be defined
# Custom Groups
@@@Admin @"EXAMPLE_ADMIN_USER"
@@@EXAMPLE_GROUP @"EXAMPLE_GROUP_USER"
@@@DefaultReviewers @"EXAMPLE_DEFAULT_REVIEWER_USER"
# ---------------------------------------------------------------------------------------------------------------------
# FILES
# Default Repo Owner (if not explicitly defined below)
* @@DefaultReviewers
.github/**/**
.editorconfig @@Admin
bitbucket-pipelines.yml @@AID
CODEOWNERS @@Admin
# ---------------------------------------------------------------------------------------------------------------------
# DIRECTORIES
# Client
client/.husky/** @@AID
client/.prettierignore @@AID
client/.prettierrc @@AID
# Server
server/.dockerignore @@Admin
server/Dockerfile @@Admin
# ---------------------------------------------------------------------------------------------------------------------
# * IMPORTANT: Resets Code Owners for package-lock.json modifications
# The reason we want to do this is to limit adding reviewers to PRs if this is the only file modified.
# The inherited risk is that any modifications to these files will not trigger reviewers in PRs, but the
# benefits outweigh the risk, and this risk is mitigated by CI.
# NOTE: Order is important and this should come _after_ Code Owner definitions above
!**/package-lock.json