Skip to content

Commit

Permalink
chore: add custom sync repo settings (#412)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
parthea and tswast authored Feb 15, 2022
1 parent f1a249e commit 2ee34e2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# 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'
- 'OwlBot Post Processor'
- 'Kokoro'
- '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

0 comments on commit 2ee34e2

Please sign in to comment.