Skip to content

Commit c63fa91

Browse files
authored
chore: add settings sync, cleanup CODEOWNERS (#1113)
1 parent 4045765 commit c63fa91

File tree

3 files changed

+46
-4
lines changed

3 files changed

+46
-4
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
# For syntax help see:
55
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
66

7-
# The @googleapis/yoshi-java is the default owner for changes in this repo
8-
* @googleapis/yoshi-java @googleapis/yoshi-java
9-
**/*.java @googleapis/yoshi-java
7+
* @googleapis/yoshi-java
108

119
# The java-samples-reviewers team is the default owner for samples changes
1210
samples/**/*.java @googleapis/java-samples-reviewers

.github/sync-repo-settings.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Whether or not rebase-merging is enabled on this repository.
2+
# Defaults to `true`
3+
rebaseMergeAllowed: false
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: 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: false
29+
# List of required status check contexts that must pass for commits to be accepted to matching branches.
30+
requiredStatusCheckContexts:
31+
- "Kokoro - Test: Binary Compatibility"
32+
- "Kokoro - Test: Java 11"
33+
- "Kokoro - Test: Java 7"
34+
- "Kokoro - Test: Java 8"
35+
- "Kokoro - Test: Linkage Monitor"
36+
- "cla/google"
37+
38+
# List of explicit permissions to add (additive only)
39+
permissionRules:
40+
- team: yoshi-admins
41+
permission: admin
42+
- team: yoshi-java-admins
43+
permission: admin
44+
- team: yoshi-java
45+
permission: push

.repo-metadata.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
"language": "java",
77
"repo": "googleapis/google-http-java-client",
88
"repo_short": "google-http-java-client",
9-
"codeowner_team": "@googleapis/yoshi-java",
109
"distribution_name": "com.google.http-client:google-http-client"
1110
}

0 commit comments

Comments
 (0)