diff --git a/.asf.yaml b/.asf.yaml new file mode 100644 index 000000000..d06f092a4 --- /dev/null +++ b/.asf.yaml @@ -0,0 +1,130 @@ +# ---------------------------------------------------------------------- +# +# 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. +# +# ---------------------------------------------------------------------- +# +# Apache Software Foundation GitHub Repository Configuration +# Documentation: https://infra.apache.org/asf-yaml.html +# +# This .asf.yaml file configures repository settings and ASF +# infrastructure integration, automating and standardizing project +# management aspects. Changes to this file will be automatically +# applied by ASF infrastructure. +# +# ---------------------------------------------------------------------- + +# GitHub repository configuration and metadata +github: + # Project description shown on GitHub repository page + description: An open-source library for scalable in-database analytics, supporting PostgreSQL, Greenplum Database and Apache Cloudberry. + + # Project website URL + homepage: https://madlib.apache.org/ + + # Repository topics/tags for discoverability + labels: + - madlib + - machine-learning + - big-data + - data-science + - data-analysis + - postgres + - greenplum + - cloudberry + - ai + - sql + + # GitHub repository feature toggles + features: + # Enable GitHub wiki as documentation is maintained elsewhere + wiki: false + # Enable GitHub Issues for bug tracking and feature requests + issues: true + # Enable GitHub Projects for project management and planning + projects: true + # Enable GitHub Discussions for community discussions + discussions: true + + # Configure available merge strategies for pull requests + enabled_merge_buttons: + # Enable squash merging to maintain clean history + squash: true + # Disable standard merge commits + merge: false + # Enable rebase merging for linear history + rebase: true + + # Branch protection rules for the main branch + protected_branches: + madlib2-master: + # Require status checks to pass before merging + required_status_checks: + # Require branches to be up to date before merging + strict: true + + # Required status checks that must pass + # Note: These contexts match the exact job names in GitHub + # Actions workflows. They do not include the workflow name as a + # prefix + # contexts: + # + # Leave it as blank. We can add the checks later if move to + # GitHub actions + + # Pull request review requirements + required_pull_request_reviews: + # Require new reviews when new commits are pushed + dismiss_stale_reviews: false + # Require at least 1 approving reviews + required_approving_review_count: 1 + + # Enforce linear commit history + required_linear_history: true + + # Don't require commits to be signed + required_signatures: false + + # Require conversation threads to be resolved + required_conversation_resolution: true + + # Branch cleanup settings + # Don't automatically delete branches after merging + del_branch_on_merge: true + + # Dependabot security settings + # Enable security vulnerability alerts + dependabot_alerts: true + # Disable automated dependency updates + dependabot_updates: false + + # Protected tag patterns + # Release tag like rel/v2.1.0 + protected_tags: + - "rel/*" + +# Notification routing configuration +notifications: + # Route all commit notifications to commits mailing list + commits: commits@madlib.apache.org + # Route issue notifications to issues mailing list + issues: issues@madlib.apache.org + # Route pull request notifications to commits mailing list + pullrequests: commits@madlib.apache.org + # Route discussion notifications to dev mailing list + discussions: dev@madlib.apache.org + # Route dependabot pull request notifications to private mailing list + pullrequests_bot_dependabot: private@madlib.apache.org