forked from multimediallc/codeowners-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodeowners.toml
More file actions
28 lines (27 loc) · 1.88 KB
/
codeowners.toml
File metadata and controls
28 lines (27 loc) · 1.88 KB
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
# `min_reviews` (default nil) allows you to specify the minimum number of reviews required
min_reviews = 1
# `max_reviews` (default nil) allows you to skip some reviewers if the number of reviewers is greater than the max_reviewers
max_reviews = 2
# `unskippable_reviewers` allows you to specify reviewers that cannot be skipped via the max_reviews setting
unskippable_reviewers = ["@BakerNet"]
# `ignore` allows you to specify directories that should be ignored by the codeowners check
ignore = ["test_project"]
# `high_priority_lables` allows you to specify labels that should be considered high priority
high_priority_labels = ["P0"]
# `detailed_reviewers` (default false) means the codeowners will include a collapsible list of files and owners in its review comment
detailed_reviewers = false
# `disable_smart_dismissal` (default false) means the codeowners will not dismiss stale reviews
disable_smart_dismissal = false
# `require_both_branch_reviewers` (default false) requires approval from codeowners defined in BOTH the base branch AND the PR branch
# This is useful for ownership handoffs where both the outgoing and incoming teams must approve the change
require_both_branch_reviewers = false
# `allow_self_approval` (default false) treats the PR author as satisfying any OR ownership group they belong to
# If the PR author is included an OR group (e.g. `*.py @alice @bob`), the group is auto-satisfied without requiring another member to approve
allow_self_approval = false
# `enforcement` allows you to specify how the codeowners check should be enforced
[enforcement]
# `approval` (default false) means the github token owner will approve the PR
# this can be used alongside GitHub CODEOWNERS to enforce codeowners checks by making the github token owner the only CODEOWNER
approval = false
# `fail_check` (default true) means the codeowners GHA check will fail if the codeowners check fails
fail_check = true