From cd785291d51d97003d1263056cd2b9de1849a0ab Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Tue, 7 Jun 2022 21:16:23 +0000 Subject: [PATCH] build(node): add new jsteam + enforce branches up-to-date (#1451) --- .../node_library/.github/sync-repo-settings.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/synthtool/gcp/templates/node_library/.github/sync-repo-settings.yaml b/synthtool/gcp/templates/node_library/.github/sync-repo-settings.yaml index bfd74430b..899c8b832 100644 --- a/synthtool/gcp/templates/node_library/.github/sync-repo-settings.yaml +++ b/synthtool/gcp/templates/node_library/.github/sync-repo-settings.yaml @@ -3,7 +3,7 @@ branchProtectionRules: isAdminEnforced: true requiredApprovingReviewCount: 1 requiresCodeOwnerReviews: true - requiresStrictStatusChecks: false + requiresStrictStatusChecks: true requiredStatusCheckContexts: - "ci/kokoro: Samples test" - "ci/kokoro: System test" @@ -15,3 +15,10 @@ branchProtectionRules: - cla/google - windows - OwlBot Post Processor +permissionRules: + - team: yoshi-admins + permission: admin + - team: jsteam-admins + permission: admin + - team: jsteam + permission: push