• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings
2# Rules for main branch protection
3branchProtectionRules:
4# Identifies the protection rule pattern. Name of the branch to be protected.
5# Defaults to `main`
6- pattern: main
7  requiresCodeOwnerReviews: true
8  requiresStrictStatusChecks: true
9  requiredStatusCheckContexts:
10    - 'cla/google'
11    # No Kokoro:  the following are Github actions
12    - 'lint'
13    - 'mypy'
14    - 'unit_grpc_gcp-3.7'
15    - 'unit_grpc_gcp-3.8'
16    - 'unit_grpc_gcp-3.9'
17    - 'unit_grpc_gcp-3.10'
18    - 'unit_grpc_gcp-3.11'
19    - 'unit_grpc_gcp-3.12'
20    - 'unit-3.7'
21    - 'unit-3.8'
22    - 'unit-3.9'
23    - 'unit-3.10'
24    - 'unit-3.11'
25    - 'unit-3.12'
26    - 'unit_wo_grpc-3.10'
27    - 'unit_wo_grpc-3.11'
28    - 'unit_wo_grpc-3.12'
29    - 'cover'
30    - 'docs'
31    - 'docfx'
32permissionRules:
33  - team: actools-python
34    permission: admin
35  - team: actools
36    permission: admin
37  - team: yoshi-python
38    permission: push
39