|
| 1 | +# Copyright 2022 Google LLC |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +# .github/sync-repo-settings.yaml |
| 16 | +# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings for app options. |
| 17 | +rebaseMergeAllowed: true |
| 18 | +squashMergeAllowed: true |
| 19 | +mergeCommitAllowed: false |
| 20 | +deleteBranchOnMerge: true |
| 21 | +branchProtectionRules: |
| 22 | + - pattern: main |
| 23 | + isAdminEnforced: false |
| 24 | + requiresStrictStatusChecks: false |
| 25 | + requiredStatusCheckContexts: |
| 26 | + # .github/workflows/test.yml with a job called "test" |
| 27 | + - "test" |
| 28 | + # .github/workflows/lint.yml with a job called "lint" |
| 29 | + - "lint" |
| 30 | + # Google bots below |
| 31 | + - "cla/google" |
| 32 | + - "snippet-bot check" |
| 33 | + - "header-check" |
| 34 | + - "conventionalcommits.org" |
| 35 | + requiredApprovingReviewCount: 1 |
| 36 | + requiresCodeOwnerReviews: true |
| 37 | + - pattern: master |
| 38 | + isAdminEnforced: false |
| 39 | + requiresStrictStatusChecks: false |
| 40 | + requiredStatusCheckContexts: |
| 41 | + # .github/workflows/test.yml with a job called "test" |
| 42 | + - "test" |
| 43 | + # .github/workflows/lint.yml with a job called "lint" |
| 44 | + - "lint" |
| 45 | + # Google bots below |
| 46 | + - "cla/google" |
| 47 | + - "snippet-bot check" |
| 48 | + - "header-check" |
| 49 | + - "conventionalcommits.org" |
| 50 | + requiredApprovingReviewCount: 1 |
| 51 | + requiresCodeOwnerReviews: true |
| 52 | +permissionRules: |
| 53 | + - team: workspace-devrel-dpe |
| 54 | + permission: admin |
0 commit comments