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

hezhangjian pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new f4f0d99f Set up default protection ruleset for default and release 
branches (#339)
f4f0d99f is described below

commit f4f0d99f4eff2153001d553b2977df4d22cf97fe
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Mon Nov 9 13:02:06 2026 +0100

    Set up default protection ruleset for default and release branches (#339)
---
 .asf.yaml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index 35a7a585..7d0f4ffb 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -2,4 +2,18 @@ publish:
   whoami: asf-site
 
 staging:
-  whoami: asf-site
\ No newline at end of file
+  whoami: asf-site
+github:
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true

Reply via email to