You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by gi...@apache.org on 2026/09/09 07:16:49 UTC

(seatunnel) 01/01: [Fix][CI] Make ruleset bypass cover full merge gate (#12221)

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

github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/dev/pr-12221-75fd4ed4b2e63579a57b461285997951490c4fe7
in repository https://gitbox.apache.org/repos/asf/seatunnel.git

commit f0a768add7d68205ed3d014b61a166fc6e864245
Author: Daniel <es...@outlook.com>
AuthorDate: Wed Sep 9 07:16:25 2026 +0000

    [Fix][CI] Make ruleset bypass cover full merge gate (#12221)
---
 .asf.yaml | 32 ++++++++++++++++++++++----------
 1 file changed, 22 insertions(+), 10 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index cd18002bbd..e907a611a3 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -68,6 +68,25 @@ github:
             - refs/heads/dev
           exclude: []
       rules:
+        # Preserve branch safety in the ruleset so bypass actors cover the full merge gate.
+        - type: deletion
+        - type: non_fast_forward
+        - type: pull_request
+          parameters:
+            allowed_merge_methods:
+              - squash
+            dismiss_stale_reviews_on_push: true
+            require_code_owner_review: false
+            require_extra_approval_for_unattributed_changes: false
+            require_last_push_approval: false
+            required_approving_review_count: 1
+            required_review_thread_resolution: false
+        - type: required_status_checks
+          parameters:
+            strict_required_status_checks_policy: false
+            required_status_checks:
+              - context: Build
+                integration_id: 15368
         - type: merge_queue
           parameters:
             # Allow enough time for runner scheduling before the 30-minute job starts.
@@ -79,16 +98,9 @@ github:
             merge_method: SQUASH
             min_entries_to_merge: 1
             min_entries_to_merge_wait_minutes: 0
-  protected_branches:
-    dev:
-      required_status_checks:
-        strict: false
-        checks:
-          - context: Build
-            app_id: 15368
-      required_pull_request_reviews:
-        dismiss_stale_reviews: true
-        required_approving_review_count: 1
+  # Classic branch protection is intentionally disabled: the ruleset above now owns
+  # the dev branch merge requirements and its bypass actors can bypass the full gate.
+  protected_branches: ~
 
 notifications:
   commits:      commits@seatunnel.apache.org