Skip to content

Commit

Permalink
Update settings
Browse files Browse the repository at this point in the history
  • Loading branch information
chartgerink committed Apr 18, 2024
1 parent 006dbf0 commit 5d4859b
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,22 @@
repository:
# See https://developer.github.com/v3/repos/#edit for all available settings.
private: false
has_issues: true
has_wiki: false
# https://probot.github.io/apps/settings/
allow_merge_commit: false
allow_rebase_merge: true
allow_squash_merge: true
default_branch: main
delete_branch_on_merge: true
has_discussions: false
has_issues: true
has_projects: false
default_branch: main
# Either `true` to allow squash-merging pull requests, or `false` to prevent
# squash-merging.
allow_squash_merge: true
# Either `true` to allow merging pull requests with a merge commit, or `false`
# to prevent merging pull requests with merge commits.
allow_merge_commit: true
# Either `true` to allow rebase-merging pull requests, or `false` to prevent
# rebase-merging.
allow_rebase_merge: true
has_wiki: false
private: false
branches:
- name: main
# https://docs.github.com/en/rest/reference/repos#update-branch-protection
protection:
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.
required_approving_review_count: 1 # (1-6)
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
require_code_owner_reviews: false
required_status_checks:
# Required. Require branches to be up to date before merging.
strict: true

0 comments on commit 5d4859b

Please # to comment.