Skip to content

Commit

Permalink
chore: add repo settings config (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
anguillanneuf committed Oct 1, 2020
1 parent e6d883e commit 5ea4c2d
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Whether or not rebase-merging is enabled on this repository.
# Defaults to `true`
rebaseMergeAllowed: true

# Whether or not squash-merging is enabled on this repository.
# Defaults to `true`
squashMergeAllowed: true

# Whether or not PRs are merged with a merge commit on this repository.
# Defaults to `false`
mergeCommitAllowed: false

# Rules for master branch protection
branchProtectionRules:
# Identifies the protection rule pattern. Name of the branch to be protected.
# Defaults to `master`
- pattern: master
# Can admins overwrite branch protection.
# Defaults to `true`
isAdminEnforced: true
# Number of approving reviews required to update matching branches.
# Defaults to `1`
requiredApprovingReviewCount: 1
# Are reviews from code owners required to update matching branches.
# Defaults to `false`
requiresCodeOwnerReviews: true
# Require up to date branches
requiresStrictStatusChecks: false
# List of required status check contexts that must pass for commits to be accepted to matching branches.
requiredStatusCheckContexts:
# TODO: change it back to 'Kokoro' when the repo is public
- 'pubsublite-build'
- 'cla/google'
# List of explicit permissions to add (additive only)
permissionRules:
# Team slug to add to repository permissions
- team: yoshi-admins
# Access level required, one of push|pull|admin|maintain|triage
permission: admin
# Team slug to add to repository permissions
- team: yoshi-python-admins
# Access level required, one of push|pull|admin|maintain|triage
permission: admin
# Team slug to add to repository permissions
- team: yoshi-python
# Access level required, one of push|pull|admin|maintain|triage
permission: push

0 comments on commit 5ea4c2d

Please sign in to comment.