Skip to content

Apache DataFusion SQL Query Engine

5.9 KB
Raw Blame
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for additional information regarding copyright ownership
# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements

# This file controls the settings of this repository
#
# See more details at
# https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features

notifications:
  commits: [email protected]
  issues: [email protected]
  pullrequests: [email protected]
  discussions: [email protected]
  jira_options: link label worklog
github:
  description: "Apache DataFusion SQL Query Engine"
  homepage: https://datafusion.apache.org/
  labels:
    - arrow
    - big-data
    - dataframe
    - datafusion
    - olap
    - python
    - query-engine
    - rust
    - sql
  enabled_merge_buttons:
    squash: true
    squash_commit_message: PR_TITLE_AND_DESC
    merge: false
    rebase: false
  features:
    issues: true
    discussions: true
  protected_branches:
    main:
      required_pull_request_reviews:
        required_approving_review_count: 1
      required_status_checks:
        contexts:
          - "Check License Header"
          - "Use prettier to check formatting of documents"
          - "Check Markdown Links"
          - "Validate required_status_checks in .asf.yaml"
          - "Spell Check with Typos"
          - "Circular Dependency Check"
          - "Detect Unused Dependencies"
          - "linux build test"
          - "cargo check datafusion-common features"
          - "cargo check datafusion-substrait features"
          - "cargo check datafusion-proto features"
          - "cargo check datafusion features"
          - "cargo check datafusion-functions features"
          - "cargo test (amd64)"
          - "cargo test 'extended_tests' (amd64)"
          - "cargo test hash collisions (amd64)"
          - "cargo test datafusion-cli (amd64)"
          - "cargo examples (amd64)"
          - "cargo test doc (amd64)"
          - "cargo doc"
          - "build and run with wasm-pack"
          - "verify benchmark results (amd64)"
          - "Run sqllogictest with Postgres runner"
          - "Run sqllogictest in Substrait round-trip mode"
          - "Run sqllogictests with the sqlite test suite"
          - "cargo test (macos-aarch64)"
          - "Verify Vendored Code"
          - "Check cargo fmt"
          - "Check GitHub Actions install tooling"
          - "clippy"
          - "check Cargo.toml formatting"
          - "check configs.md and ***_functions.md is up-to-date"
          - "check example README is up-to-date"
          - "Check datafusion crates used in datafusion-examples"
          - "Verify MSRV (Min Supported Rust Version)"
    # needs to be updated as part of the release process
    # .asf.yaml doesn't support wildcard branch protection rules, only exact branch names
    # https://github.com/apache/infrastructure-asfyaml?tab=readme-ov-file#branch-protection
    # these branches protection blocks autogenerated during release process which is described in
    # https://github.com/apache/datafusion/tree/main/dev/release#2-add-a-protection-to-release-candidate-branch
    branch-50:
      required_pull_request_reviews:
        required_approving_review_count: 1
    branch-51:
      required_pull_request_reviews:
        required_approving_review_count: 1
    branch-52:
      required_pull_request_reviews:
        required_approving_review_count: 1
    branch-53:
      required_pull_request_reviews:
        required_approving_review_count: 1
    branch-54:
      required_pull_request_reviews:
        required_approving_review_count: 1
    branch-55:
      required_pull_request_reviews:
        required_approving_review_count: 1
    branch-56:
      required_pull_request_reviews:
        required_approving_review_count: 1

  # GitHub merge queue settings for `main`.
  #
  # The merge queue is managed through rulesets
  # https://github.com/apache/infrastructure-asfyaml#rulesets
  #
  # Merge queue rules do not support wildcard ref patterns, so only the default
  # branch is covered; release branches keep plain branch protection above.
  rulesets:
    - name: Merge Queue
      target: branch
      enforcement: active
      conditions:
        ref_name:
          include:
            - "~DEFAULT_BRANCH"
          exclude: []
      rules:
        - type: merge_queue
          parameters:
            # Matches enabled_merge_buttons above.
            merge_method: SQUASH
            # Every entry's own build must be green, not only the head of the
            # group.
            grouping_strategy: ALLGREEN
            # How many queue entries are built and tested concurrently.
            max_entries_to_build: 5
            # How many green entries may land in one merge operation (note this
            # does not combine CI builds)
            max_entries_to_merge: 1
            min_entries_to_merge: 1
            min_entries_to_merge_wait_minutes: 5
            # How long the queue waits for a required check to report before
            # treating it as failed and evicting the entry. Set to 6h to handle
            # periods of high runner queue times. See
            # https://github.com/apache/datafusion/issues/26292
            check_response_timeout_minutes: 360
  pull_requests:
    # enable updating head branches of pull requests
    allow_update_branch: true
    allow_auto_merge: true
    # auto-delete head branches after being merged
    del_branch_on_merge: true
    # Limit open pull requests per user without write access.
    #
    # With coding agents, the number of open PRs now far exceeds our review capacity.
    # Setting a limit helps reviewers focus on fewer PRs at a time.
    creation_cap:
      enabled: true
      max_open_pull_requests: 3

# publishes the content of the `asf-site` branch to
# https://datafusion.apache.org/
publish:
  whoami: asf-site