| # 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' |
| - 'Kokoro' |
| - 'OwlBot Post Processor' |
| - 'Samples - Lint' |
| - 'Samples - Python 3.7' |
| - 'Samples - Python 3.8' |
| - 'Samples - Python 3.9' |
| - 'Samples - Python 3.10' |
| permissionRules: |
| - team: actools-python |
| permission: admin |
| - team: actools |
| permission: admin |
| - team: yoshi-python |
| permission: push |
| - team: python-samples-owners |
| permission: push |
| - team: python-samples-reviewers |
| permission: push |