Skip to content

Commit

Permalink
YAMLlint fixes for settings.yml
Browse files Browse the repository at this point in the history
Signed-off-by: lelia <[email protected]>
  • Loading branch information
lelia committed Jul 12, 2024
1 parent e467138 commit 2c1b123
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# These settings are synced to GitHub by https://probot.github.io/apps/settings/

repository:
Expand Down Expand Up @@ -57,14 +58,16 @@ repository:
# vulnerability alerts.
enable_vulnerability_alerts: true

# See https://developer.github.com/v3/teams/#add-or-update-team-repository for available options
# See https://developer.github.com/v3/teams/#add-or-update-team-repository for options
teams:
# The permission to grant the team. Can be one of:
# * `pull` - can pull, but not push to or administer this repository.
# * `push` - can pull and push, but not administer this repository.
# * `admin` - can pull, push and administer this repository.
# * `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
# * `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
# * `maintain` - Recommended for project managers who need to manage the
# repository without access to sensitive or destructive actions.
# * `triage` - Recommended for contributors who need to proactively manage
# issues and pull requests without write access.
- name: <admin-team-name>
permission: admin
- name: <maintainer-team-name>
Expand All @@ -75,29 +78,37 @@ branches:
# 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. 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
# Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories.
# Specify which users and teams can dismiss pull request reviews. Pass
# an empty dismissal_restrictions object to disable. User and team
# dismissal_restrictions are only available for organization-owned
# repositories. Omit this parameter for personal repositories.
dismissal_restrictions:
users: []
teams: []
# 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
# Required. The list of required status checks in order to merge into this branch
contexts: []
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
# 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: true
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
# Required. Restrict who can push to this branch. Team and user
# restrictions are only available for organization-owned repositories. Set
# to null to disable.
restrictions:
apps: []
users: []
Expand Down

0 comments on commit 2c1b123

Please sign in to comment.