pgroll/.github/settings.yml
Carlos Pérez-Aradros Herce 6c4748916c
Add linter to tests (#9)
Found some lint warnings, let's have them in CI
2023-06-27 16:33:50 +01:00

113 lines
3.9 KiB
YAML

# These settings are synced to GitHub by https://probot.github.io/apps/settings/
# See https://developer.github.com/v3/repos/#edit for all available settings.
repository:
name: pg-roll
# A short description of the repository that will show up on GitHub
description:
# A URL with more information about the repository
homepage: https://www.xata.io
# A comma-separated list of topics to set on the repository
topics:
# Either `true` to make the repository private, or `false` to make it public.
private: true
# Updates the default branch for this repository.
default_branch: main
# Either `true` to enable issues for this repository, `false` to disable them.
has_issues: true
# Either `true` to enable the wiki for this repository, `false` to disable it.
has_wiki: true
# Either `true` to enable projects for this repository, or `false` to disable them.
# If projects are disabled for the organization, passing `true` will cause an API error.
has_projects: true
# Either `true` to enable downloads for this repository, `false` to disable them.
has_downloads: true
# 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: false
# Either `true` to allow rebase-merging pull requests, or `false` to prevent
# rebase-merging.
allow_rebase_merge: false
# Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge. Default: `false`
allow_auto_merge: true
# Either `true` to enable automatic deletion of branches on merge, or `false` to disable
delete_branch_on_merge: true
# Either `true` to enable automated security fixes, or `false` to disable
# automated security fixes.
enable_automated_security_fixes: true
# Either `true` to enable vulnerability alerts, or `false` to disable
# vulnerability alerts.
enable_vulnerability_alerts: true
# Note: Branch protection requires Pro, Team or Enterprise account
branches:
- name: main
# https://docs.github.com/en/rest/reference/repos#update-branch-protection
# Branch Protection settings. Set to null to disable
protection:
# 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: false
# Required. The list of status checks to require in order to merge into this branch
contexts:
- test
- lint
# 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: false
# Blocks merge until code owners have reviewed.
require_code_owner_reviews: true
# Restrict who can push to the protected branch
restrictions: null
#users: []
#teams: []
#apps: []
# 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: true
# Prevent merge commits from being pushed to matching branches
required_linear_history: false
# Permits force pushes to the protected branch by anyone with write access to the repository
allow_force_pushes: false
# Allows deletion of the protected branch by anyone with write access to the repository.
allow_deletions: false
# Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule.
required_conversation_resolution: false