| # 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: true |
| requiredStatusCheckContexts: |
| - 'cla/google' |
| # No Kokoro: the following are Github actions |
| - 'lint' |
| - 'mypy' |
| - 'unit_grpc_gcp-3.7' |
| - 'unit_grpc_gcp-3.8' |
| - 'unit_grpc_gcp-3.9' |
| - 'unit_grpc_gcp-3.10' |
| - 'unit_grpc_gcp-3.11' |
| - 'unit_grpc_gcp-3.12' |
| - 'unit-3.7' |
| - 'unit-3.8' |
| - 'unit-3.9' |
| - 'unit-3.10' |
| - 'unit-3.11' |
| - 'unit-3.12' |
| - 'unit_wo_grpc-3.10' |
| - 'unit_wo_grpc-3.11' |
| - 'unit_wo_grpc-3.12' |
| - 'cover' |
| - 'docs' |
| - 'docfx' |
| permissionRules: |
| - team: actools-python |
| permission: admin |
| - team: actools |
| permission: admin |
| - team: yoshi-python |
| permission: push |