From 985a8cfecce6915d05d7d5d4852fcc7cdbb3770c Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Fri, 4 Dec 2020 13:58:04 -0700 Subject: [PATCH] chore: require samples checks (#409) Make samples kokoro sessions required --- .github/sync-repo-settings.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/sync-repo-settings.yaml diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml new file mode 100644 index 000000000..b18fb9c29 --- /dev/null +++ b/.github/sync-repo-settings.yaml @@ -0,0 +1,14 @@ +# 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 + requiredStatusCheckContexts: + - 'Kokoro' + - 'Kokoro snippets-3.8' + - 'cla/google' + - 'Samples - Lint' + - 'Samples - Python 3.6' + - 'Samples - Python 3.7' + - 'Samples - Python 3.8'