From ae30a321d0a0a800fa282b5d771b5ebaa9996b11 Mon Sep 17 00:00:00 2001
From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Date: Mon, 9 Aug 2021 10:38:10 -0600
Subject: [PATCH] ci: require samples checks (#96)

---
 .../.github/sync-repo-settings.yaml               | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 packages/google-cloud-compute/.github/sync-repo-settings.yaml

diff --git a/packages/google-cloud-compute/.github/sync-repo-settings.yaml b/packages/google-cloud-compute/.github/sync-repo-settings.yaml
new file mode 100644
index 000000000000..0ddb512dbab7
--- /dev/null
+++ b/packages/google-cloud-compute/.github/sync-repo-settings.yaml
@@ -0,0 +1,15 @@
+# https://github.com/googleapis/repo-automation-bots/tree/master/packages/sync-repo-settings
+# Rules for master branch protection
+branchProtectionRules:
+# Identifies the protection rule pattern. Name of the branch to be protected.
+# Defaults to `master`
+- pattern: master
+  requiresCodeOwnerReviews: true
+  requiresStrictStatusChecks: true
+  requiredStatusCheckContexts:
+    - 'Kokoro'
+    - 'cla/google'
+    - 'Samples - Lint'
+    - 'Samples - Python 3.6'
+    - 'Samples - Python 3.7'
+    - 'Samples - Python 3.8'