| 1 |
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings |
| 2 |
# Rules for main branch protection |
| 3 |
branchProtectionRules: |
| 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 |
- 'Kokoro' |
| 12 |
- 'OwlBot Post Processor' |
| 13 |
- 'Samples - Lint' |
| 14 |
- 'Samples - Python 3.10' |
| 15 |
- 'Samples - Python 3.11' |
| 16 |
- 'Samples - Python 3.12' |
| 17 |
- 'Samples - Python 3.13' |
| 18 |
- 'Samples - Python 3.14' |
| 19 |
permissionRules: |
| 20 |
- team: actools-python |
| 21 |
permission: admin |
| 22 |
- team: actools |
| 23 |
permission: admin |
| 24 |
- team: yoshi-python |
| 25 |
permission: push |
| 26 |
- team: python-samples-owners |
| 27 |
permission: push |
| 28 |
- team: python-samples-reviewers |
| 29 |
permission: push |