-
Notifications
You must be signed in to change notification settings - Fork 0
/
default-config.yml
70 lines (70 loc) · 2.16 KB
/
default-config.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
gitlab:
code_changes:
approval_dismissed:
enabled: True
approval_required:
enabled: True
required_approvals: 2
branch_deletion_denied:
enabled: True
branches_are_up_to_date:
enabled: True
# https://docs.gitlab.com/ee/api/projects.html#get-a-single-project
# Set the project’s merge method. Can be merge (merge commit), rebase_merge (merge commit with semi-linear history), or ff (fast-forward merge).
# https://docs.gitlab.com/ee/user/project/merge_requests/methods/index.html
allowed_merge_method:
- rebase_merge
- ff
checks_have_passed_before_merging:
enabled: True
codeowners_approval:
enabled: True
codeowners_file_exists:
enabled: True
commit_user_verification:
enabled: True
reject_unsigned_commits: True # Reject unsigned commits (original CIS GitLab v1.0.1)
commit_committer_check: True # Reject unverified users
commit_committer_name_check: True # Reject inconsistent user name
member_check: True # Check whether the commit author is a GitLab user
default_branch_protected:
enabled: True
force_push_denied:
enabled: True
linear_history:
enabled: True
allowed_merge_method:
- ff
allowed_squash_options:
- default_on
- always
open_comments_resolved_before_merge:
enabled: True
pushing_or_merging_restriction:
enabled: True
# https://docs.gitlab.com/ee/api/access_requests.html
# 30 - Developers + Maintainers, 40 - Maintainers
allowed_merge_access_levels:
- 30
- 40
# 0 - No one
allowed_push_access_levels:
- 0
stale_branches:
enabled: True
stale_days: 90
repository_management:
inactive_repositories:
enabled: True
max_number_of_inactive_days: 180
issue_deletion_limited:
enabled: True
max_number_of_users_allowed_to_delete_issue: 10
repository_deletion_limited:
enabled: True
max_number_of_users_allowed_to_delete_repo: 10
repository_forks:
enabled: True
max_number_of_forks: 0
security_file_available:
enabled: True