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

nzw921rx pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/seatunnel-shade.git


The following commit(s) were added to refs/heads/main by this push:
     new 92e3947  [Improve] Require pull request approval for protected 
branches (#26)
92e3947 is described below

commit 92e3947176928450596a25ced135478c2d2ab32b
Author: Jast <[email protected]>
AuthorDate: Mon Nov 9 14:11:14 2026 +0800

    [Improve] Require pull request approval for protected branches (#26)
---
 .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