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

blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 747c0fb  Set up default protection ruleset for default and release 
branches (#289)
747c0fb is described below

commit 747c0fbe8722626e5221b242b282f4f20637b564
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Mon May 18 06:18:11 2026 -0500

    Set up default protection ruleset for default and release branches (#289)
---
 .asf.yaml | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 86fe969..e93c157 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -20,8 +20,8 @@
 github:
   description: "The official .NET client library for Apache Pulsar"
   homepage: https://pulsar.apache.org/
-  ghp_branch:  gh-pages
-  ghp_path:    docs/api/_site
+  ghp_branch: gh-pages
+  ghp_path: docs/api/_site
   labels:
     - pulsar
     - pubsub
@@ -39,14 +39,27 @@ github:
     projects: true
   enabled_merge_buttons:
     # enable squash button:
-    squash:  true
+    squash: true
     # disable merge button:
-    merge:   false
+    merge: false
     # disable rebase button:
-    rebase:  false
+    rebase: false
 
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
 notifications:
-  commits:      [email protected]
-  issues:       [email protected]
+  commits: [email protected]
+  issues: [email protected]
   pullrequests: [email protected]
-  discussions:  [email protected]
\ No newline at end of file
+  discussions: [email protected]

Reply via email to