#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

github:
  features:
    issues: true
    projects: false
    
  enabled_merge_buttons:
    # only allow squash merge
    squash:  true
    merge:   false
    rebase:  false
  # delete origin branch after merged
  del_branch_on_merge: true
  protected_branches:
    main:
      required_status_checks:
        # strict means "Require branches to be up to date before merging".
        strict: true
      required_pull_request_reviews:
        dismiss_stale_reviews: true
        require_code_owner_reviews: false
        required_approving_review_count: 1
  # collaborators:
  #   - daniel-hutao
    
notifications:
  commits: commits@devlake.apache.org
  issues:  commits@devlake.apache.org
  pullrequests: commits@devlake.apache.org
