blob: a2faa26af16213938002567422ab6033117e6e0f [file] [log] [blame]
#
# 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.
# Check https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
github:
protected_branches:
master:
required_status_checks:
# strict means "Require branches to be up to date before merging".
strict: true
# contexts are the names of checks that must pass
contexts:
- Build on Java 11 and ubuntu-18.04
- Build on Node 16.x and ubuntu-18.04
required_pull_request_reviews:
dismiss_stale_reviews: true
required_approving_review_count: 1
# squash or rebase must be allowed in the repo for this setting to be set to true.
required_linear_history: true
required_signatures: true
branch_b:
required_signatures: true
del_branch_on_merge: true