Skip to content

Commit 2ee34e2

Browse files
partheatswast
andauthored
chore: add custom sync repo settings (googleapis#412)
* chore: add custom sync repo settings * add required checks for samples * Update .github/sync-repo-settings.yaml Co-authored-by: Tim Swast <swast@google.com>
1 parent f1a249e commit 2ee34e2

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/sync-repo-settings.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
- 'OwlBot Post Processor'
12+
- 'Kokoro'
13+
- 'Samples - Lint'
14+
- 'Samples - Python 3.7'
15+
- 'Samples - Python 3.8'
16+
- 'Samples - Python 3.9'
17+
- 'Samples - Python 3.10'
18+
permissionRules:
19+
- team: actools-python
20+
permission: admin
21+
- team: actools
22+
permission: admin
23+
- team: yoshi-python
24+
permission: push
25+
- team: python-samples-owners
26+
permission: push
27+
- team: python-samples-reviewers
28+
permission: push

0 commit comments

Comments
 (0)