mirror of
https://github.com/jazzband/admin.git
synced 2026-03-16 22:20:23 +00:00
Initial settings.
This commit is contained in:
parent
01afa36619
commit
5e87b2098e
1 changed files with 22 additions and 0 deletions
22
.github/settings.yml
vendored
Normal file
22
.github/settings.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
branches:
|
||||
# If the name of the branch is default, it will create a branch protection for the default branch in the repo
|
||||
- name: default
|
||||
# https://developer.github.com/v3/repos/branches/#update-branch-protection
|
||||
# Branch Protection settings. Set to null to disable
|
||||
protection:
|
||||
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
|
||||
required_pull_request_reviews:
|
||||
# The number of approvals required. (1-6)
|
||||
required_approving_review_count: 1
|
||||
# Dismiss approved reviews automatically when a new commit is pushed.
|
||||
dismiss_stale_reviews: true
|
||||
# Blocks merge until code owners have reviewed.
|
||||
require_code_owner_reviews: true
|
||||
# Required. Require status checks to pass before merging. Set to null to disable
|
||||
required_status_checks:
|
||||
# Required. Require branches to be up to date before merging.
|
||||
strict: true
|
||||
# Required. The list of status checks to require in order to merge into this branch
|
||||
contexts: ["pullapprove"]
|
||||
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
|
||||
enforce_admins: null
|
||||
Loading…
Reference in a new issue