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

jrgemignani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/master by this push:
     new fa109ef1 Allow designated maintainers to bypass PG15 push protection 
(#2574)
fa109ef1 is described below

commit fa109ef1ddb1c7a945a1c340195d650000e49713
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Fri Sep 18 23:13:18 2026 +0500

    Allow designated maintainers to bypass PG15 push protection (#2574)
---
 .asf.yaml | 43 +++++++++++++++++++++++++++++++++++++++----
 1 file changed, 39 insertions(+), 4 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index be18a25c..62dc212d 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -62,10 +62,6 @@ github:
       required_pull_request_reviews:
         required_approving_review_count: 1
 
-    PG15:
-      required_pull_request_reviews:
-        required_approving_review_count: 1
-
     PG14:
       required_pull_request_reviews:
         required_approving_review_count: 1
@@ -81,3 +77,42 @@ github:
     PG11:
       required_pull_request_reviews:
         required_approving_review_count: 1
+
+  rulesets:
+    - name: "PG15 protection"
+      target: branch
+      enforcement: active
+      conditions:
+        ref_name:
+          include:
+            - "refs/heads/PG15"
+          exclude: []
+      bypass_actors:
+        - actor_type: User
+          actor_id: 85064039  # MuhammadTahaNaveed
+          bypass_mode: always
+        - actor_type: User
+          actor_id: 1505136  # jrgemignani
+          bypass_mode: always
+      rules:
+        - type: non_fast_forward
+        - type: pull_request
+          parameters:
+            dismiss_stale_reviews_on_push: false
+            require_code_owner_review: false
+            require_last_push_approval: false
+            required_approving_review_count: 1
+            required_review_thread_resolution: false
+
+    # Keep deletion protection outside the direct/force-push bypass.
+    - name: "PG15 deletion protection"
+      target: branch
+      enforcement: active
+      conditions:
+        ref_name:
+          include:
+            - "refs/heads/PG15"
+          exclude: []
+      bypass_actors: []
+      rules:
+        - type: deletion

Reply via email to