forked from GoogleCloudPlatform/python-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsync-repo-settings.yaml
More file actions
48 lines (45 loc) · 1.59 KB
/
sync-repo-settings.yaml
File metadata and controls
48 lines (45 loc) · 1.59 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Whether or not rebase-merging is enabled on this repository.
# Defaults to `true`
rebaseMergeAllowed: true
# Whether or not squash-merging is enabled on this repository.
# Defaults to `true`
squashMergeAllowed: true
# Whether or not PRs are merged with a merge commit on this repository.
# Defaults to `false`
mergeCommitAllowed: false
# Rules for master branch protection
branchProtectionRules:
# Identifies the protection rule pattern. Name of the branch to be protected.
# Defaults to `master`
- pattern: master
# Can admins overwrite branch protection.
# Defaults to `true`
isAdminEnforced: false
# Number of approving reviews required to update matching branches.
# Defaults to `1`
requiredApprovingReviewCount: 2
# Are reviews from code owners required to update matching branches.
# Defaults to `false`
requiresCodeOwnerReviews: true
# Require up to date branches
requiresStrictStatusChecks: true
# List of required status check contexts that must pass for commits to be accepted to matching branches.
requiredStatusCheckContexts:
- "Kokoro CI - Lint"
- "Kokoro CI - Python 2.7 (App Engine Standard Only)"
- "Kokoro CI - Python 3.6"
- "Kokoro CI - Python 3.7"
- "Kokoro CI - Python 3.8"
- "cla/google"
# List of explicit permissions to add (additive only)
permissionRules:
# Team slug to add to repository permissions
- team: yoshi-admins
# Access level required, one of push|pull|admin
permission: admin
- team: yoshi-python-admins
permission: admin
- team: yoshi-python
permission: push
- team: python-samples-owners
permission: admin