From 57d6e71961b5c4cfc977f92142a9306013607583 Mon Sep 17 00:00:00 2001 From: Chelsea Lin Date: Wed, 31 Jul 2024 23:15:30 +0000 Subject: [PATCH] chore: add sync-repo-settings and exclude unit 3.7 --- .github/sync-repo-settings.yaml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 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 0000000..92e3e76 --- /dev/null +++ b/.github/sync-repo-settings.yaml @@ -0,0 +1,34 @@ +# https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings +# Rules for main branch protection +branchProtectionRules: +# Identifies the protection rule pattern. Name of the branch to be protected. +# Defaults to `main` +- pattern: main + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - 'conventionalcommits.org' + - 'cla/google' + - 'docs' + - 'lint' + - 'unit (3.8)' + - 'unit (3.9)' + - 'unit (3.10)' + - 'unit (3.11)' + - 'unit (3.12)' + - 'cover' +permissionRules: + - team: actools-python + permission: admin + - team: actools + permission: admin + - team: api-bigquery + permission: push + - team: api-bigquery-dataframe + permission: push + - team: yoshi-python + permission: push + - team: python-samples-owners + permission: push + - team: python-samples-reviewers + permission: push \ No newline at end of file