forked from googleapis/google-cloud-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add repo settings configuration (googleapis#251)
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|
||
# Whether or not rebase-merging is enabled on this repository. | ||
# Defaults to `true` | ||
rebaseMergeAllowed: false | ||
|
||
# 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: true | ||
# Number of approving reviews required to update matching branches. | ||
# Defaults to `1` | ||
requiredApprovingReviewCount: 1 | ||
# Are reviews from code owners required to update matching branches. | ||
# Defaults to `false` | ||
requiresCodeOwnerReviews: true | ||
# Require up to date branches | ||
requiresStrictStatusChecks: false | ||
# List of required status check contexts that must pass for commits to be accepted to matching branches. | ||
requiredStatusCheckContexts: | ||
- "dependencies (8)" | ||
- "dependencies (11)" | ||
- "linkage-monitor" | ||
- "lint" | ||
- "clirr" | ||
- "units (7)" | ||
- "units (8)" | ||
- "units (11)" | ||
- "Kokoro - Test: Integration" | ||
- "cla/google" | ||
# List of explicit permissions to add (additive only) | ||
permissionRules: | ||
- team: yoshi-admins | ||
permission: admin | ||
- team: yoshi-java-admins | ||
permission: admin | ||
- team: yoshi-java | ||
permission: push |