8000 chore: add sync-repo-settings.yaml (#472) · googleapis/python-datastore@549834b · GitHub
[go: up one dir, main page]

Skip to content

Commit 549834b

Browse files
chore: add sync-repo-settings.yaml (#472)
1 parent 0402592 commit 549834b

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/sync-repo-settings.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Rules for main branch protection
2+
branchProtectionRules:
3+
# Identifies the protection rule pattern. Name of the branch to be protected.
4+
# Defaults to `main`
5+
- pattern: main
6+
# Can admins overwrite branch protection.
7+
# Defaults to `true`
8+
isAdminEnforced: true
9+
# Number of approving reviews required to update matching branches.
10+
# Defaults to `1`
11+
requiredApprovingReviewCount: 1
12+
# Are reviews from code owners required to update matching branches.
13+
# Defaults to `false`
14+
requiresCodeOwnerReviews: true
15+
# Require up to date branches
16+
requiresStrictStatusChecks: true
17+
# List of required status check contexts that must pass for commits to be accepted to matching branches.
18+
requiredStatusCheckContexts:
19+
- 'Kokoro'
20+
- 'Kokoro system-3.8'
21+
- 'cla/google'
22+
- 'OwlBot Post Processor'
23+
- 'docs'
24+
- 'docfx'
25+
- 'lint'
26+
- 'unit (3.7)'
27+
- 'unit (3.8)'
28+
- 'unit (3.9)'
29+
- 'unit (3.10)'
30+
- 'unit (3.11)'
31+
- 'cover'
32+
- 'mypy'
33+
# List of explicit permissions to add (additive only)
34+
permissionRules:
35+
# Team slug to add to repository permissions
36+
- team: yoshi-admins
37+
# Access level required, one of push|pull|admin|maintain|triage
38+
permission: admin
39+
# Team slug to add to repository permissions
40+
- team: yoshi-python-admins
41+
# Access level required, one of push|pull|admin|maintain|triage
42+
permission: admin
43+
# Team slug to add to repository permissions
44+
- team: yoshi-python
45+
# Access level required, one of push|pull|admin|maintain|triage
46+
permission: push

0 commit comments

Comments
 (0)
0