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

zhangshenghang pushed a commit to branch zsh/require-pr-approval
in repository https://gitbox.apache.org/repos/asf/seatunnel-shade.git

commit 74beb633669feb012e4d622643ef36f9168ad638
Author: jast <[email protected]>
AuthorDate: Mon Nov 9 13:57:36 2026 +0800

    [Improve] Require pull request approval for protected branches
---
 .asf.yaml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 0ca837f..28b7c81 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -33,13 +33,8 @@ github:
     squash: true
     merge: false
     rebase: false
-  protected_branches:
-    dev:
-      required_status_checks:
-        strict: true
-      required_pull_request_reviews:
-        dismiss_stale_reviews: true
-        required_approving_review_count: 2
+  # The default branch and release branches are protected by the ruleset below.
+  protected_branches: ~
 
   rulesets:
     - name: "Default Branch Protection"
@@ -54,6 +49,11 @@ github:
         - root
       restrict_deletion: true
       restrict_force_push: true
+      required_pull_request_reviews:
+        dismiss_stale_reviews: true
+        require_last_push_approval: false
+        require_code_owner_reviews: false
+        required_approving_review_count: 1
 notifications:
   commits: [email protected]
   issues: [email protected]

Reply via email to