This is an automated email from the ASF dual-hosted git repository.

shuke987 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git


The following commit(s) were added to refs/heads/main by this push:
     new bfb2c0772a5 [infra] Require approval on maintained branches (#441)
bfb2c0772a5 is described below

commit bfb2c0772a51f48d4a773102fbb3bde6ee9b8f1a
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Thu Nov 26 15:55:51 2026 +0800

    [infra] Require approval on maintained branches (#441)
    
    * [infra] Require approval on maintained branches
    * [infra] Adjust branch protection configuration
---
 .asf.yaml | 96 ++++++++++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 73 insertions(+), 23 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 14cdca4448c..450b751189a 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -42,6 +42,9 @@ github:
     squash:  true
     merge:   false
     rebase:  false
+
+  # Keep the existing protections active during the ruleset rollout.
+  # GitHub Actions (app 15368) provides the required CLucene checks.
   protected_branches:
     main:
       required_pull_request_reviews:
@@ -58,41 +61,88 @@ github:
     clucene:
       required_status_checks:
         strict: false
-        contexts:
-          - Build (Linux)
-          - Build (macOS)
-          - CLucene UT (Linux)
+        checks:
+          - context: Build (Linux)
+            app_id: 15368
+          - context: Build (macOS)
+            app_id: 15368
+          - context: CLucene UT (Linux)
+            app_id: 15368
     clucene-2.0:
       required_status_checks:
         strict: false
-        contexts:
-          - Build (Linux)
-          - Build (macOS)
-          - CLucene UT (Linux)
+        checks:
+          - context: Build (Linux)
+            app_id: 15368
+          - context: Build (macOS)
+            app_id: 15368
+          - context: CLucene UT (Linux)
+            app_id: 15368
     clucene-2.1:
       required_status_checks:
         strict: false
-        contexts:
-          - Build (Linux)
-          - Build (macOS)
-          - CLucene UT (Linux)
+        checks:
+          - context: Build (Linux)
+            app_id: 15368
+          - context: Build (macOS)
+            app_id: 15368
+          - context: CLucene UT (Linux)
+            app_id: 15368
     clucene-3.0:
       required_status_checks:
         strict: false
-        contexts:
-          - Build (Linux)
-          - Build (macOS)
-          - CLucene UT (Linux)
+        checks:
+          - context: Build (Linux)
+            app_id: 15368
+          - context: Build (macOS)
+            app_id: 15368
+          - context: CLucene UT (Linux)
+            app_id: 15368
     clucene-3.1:
       required_status_checks:
         strict: false
-        contexts:
-          - Build (Linux)
-          - Build (macOS)
-          - CLucene UT (Linux)
+        checks:
+          - context: Build (Linux)
+            app_id: 15368
+          - context: Build (macOS)
+            app_id: 15368
+          - context: CLucene UT (Linux)
+            app_id: 15368
+
+  rulesets:
+    - name: Maintained branch protection
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - bdbje
+          - clucene
+          - clucene-2.0
+          - clucene-2.1
+          - clucene-3.0
+          - clucene-3.1
+          - datatables
+          - faiss
+          - hadoop-3.3.4
+          - hadoop-3.3.6
+          - hadoop-3.4.0
+          - hadoop-3.4.2
+          - hadoop-libs
+          - libevent-2.1.12-stable
+          - libhdfs3
+          - openblas
+          - orc
+          - orc-2.1
+          - orc-for-doris-21
+          - orc-selectdb-doris-3.1
+          - paimon-cpp
+          - release-branch-2.1
+          - trino-435
+      restrict_deletion: true
+      restrict_force_push: true
+      required_pull_request_reviews:
+        dismiss_stale_reviews: true
+        required_approving_review_count: 1
 
-  collaborators:
-    - zzzxl1993
-    
 notifications:
   pullrequests_status:  [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to