diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml new file mode 100644 index 0000000000..0c0a5b4dab --- /dev/null +++ b/.github/sync-repo-settings.yaml @@ -0,0 +1,22 @@ +rebaseMergeAllowed: false +squashMergeAllowed: true +mergeCommitAllowed: false +branchProtectionRules: +- pattern: master + isAdminEnforced: true + requiredStatusCheckContexts: + - 'Kokoro - Test: Binary Compatibility' + - 'Kokoro - Test: Code Format' + - 'Kokoro - Test: Dependencies' + - 'Kokoro - Test: Integration' + - 'Kokoro - Test: Java 11' + - 'Kokoro - Test: Java 8' + - 'Kokoro - Test: Linkage Monitor' + - 'cla/google' + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true +permissionRules: + - team: yoshi-java-admins + permission: admin + - team: yoshi-java + permission: push