Skip to content

Commit 640ce71

Browse files
chore: specify repo settings overrides in local configuration (#745)
* chore: specify repo settings overrides in local configuration See googleapis/repo-automation-bots#754 * chore: add common teams Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>
1 parent 56b46c3 commit 640ce71

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.github/sync-repo-settings.yaml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Whether or not squash-merging is enabled on this repository.
2+
# Defaults to `true`
3+
rebaseMergeAllowed: false
4+
5+
# Whether or not rebase-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: 1
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 - Test: BOM Upper Bounds"
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)