Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

Commit fc8ec2e

Browse files
authored
chore: add repo settings configuration (#290)
1 parent 4d6b19c commit fc8ec2e

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/sync-repo-settings.yaml

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

0 commit comments

Comments
 (0)