Skip to content

Commit 10b17db

Browse files
Add sync-repo-bot (GoogleCloudPlatform#4900)
Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>
1 parent 7130026 commit 10b17db

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/sync-repo-settings.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Whether or not rebase-merging is enabled on this repository.
2+
# Defaults to `true`
3+
rebaseMergeAllowed: true
4+
5+
# Whether or not squash-merging is enabled on this repository.
6+
# Defaults to `true`
7+
squashMergeAllowed: true
8+
9+
# Whether or not PRs are merged with a merge commit on this repository.
10+
# Defaults to `false`
11+
mergeCommitAllowed: false
12+
13+
# Rules for master branch protection
14+
branchProtectionRules:
15+
# Identifies the protection rule pattern. Name of the branch to be protected.
16+
# Defaults to `master`
17+
- pattern: master
18+
# Can admins overwrite branch protection.
19+
# Defaults to `true`
20+
isAdminEnforced: true
21+
# Number of approving reviews required to update matching branches.
22+
# Defaults to `1`
23+
requiredApprovingReviewCount: 2
24+
# Are reviews from code owners required to update matching branches.
25+
# Defaults to `false`
26+
requiresCodeOwnerReviews: true
27+
# Require up to date branches
28+
requiresStrictStatusChecks: true
29+
# List of required status check contexts that must pass for commits to be accepted to matching branches.
30+
requiredStatusCheckContexts:
31+
- "Kokoro CI - Lint"
32+
- "Kokoro CI - Python 2.7 (App Engine Standard Only)"
33+
- "Kokoro CI - Python 3.6"
34+
- "Kokoro CI - Python 3.7"
35+
- "Kokoro CI - Python 3.8"
36+
- "cla/google"
37+
# List of explicit permissions to add (additive only)
38+
permissionRules:
39+
# Team slug to add to repository permissions
40+
- team: yoshi-admins
41+
# Access level required, one of push|pull|admin
42+
permission: admin
43+
- team: yoshi-python-admins
44+
permission: admin
45+
- team: yoshi-python
46+
permission: push
47+
- team: python-samples-owners
48+
permission: admin

0 commit comments

Comments
 (0)