From ed8079c3d155b3ec820361f3d4d847715c7c1623 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Thu, 14 Apr 2022 12:55:05 -0700 Subject: [PATCH] build: sdd srs yaml file (#1419) * build: add sync-repo-settings and change branch protection --- .../.github/sync-repo-settings.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 synthtool/gcp/templates/node_library/.github/sync-repo-settings.yaml diff --git a/synthtool/gcp/templates/node_library/.github/sync-repo-settings.yaml b/synthtool/gcp/templates/node_library/.github/sync-repo-settings.yaml new file mode 100644 index 000000000..bfd74430b --- /dev/null +++ b/synthtool/gcp/templates/node_library/.github/sync-repo-settings.yaml @@ -0,0 +1,17 @@ +branchProtectionRules: + - pattern: main + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - "ci/kokoro: Samples test" + - "ci/kokoro: System test" + - docs + - lint + - test ({{metadata['engine'] | int}}) + - test ({{metadata['engine'] | int+2}}) + - test ({{metadata['engine'] | int+4}}) + - cla/google + - windows + - OwlBot Post Processor