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

shuke987 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/doris-skills.git


The following commit(s) were added to refs/heads/main by this push:
     new b7fef90  chore: protect the default branch with required review (#20)
b7fef90 is described below

commit b7fef907c42325e17ac7f98dd046fa9ce056b674
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Thu Nov 26 14:09:57 2026 +0800

    chore: protect the default branch with required review (#20)
    
    * chore: protect the default branch with required review
    
    * chore: make PR conversation resolution optional
    
    ---------
    
    Co-authored-by: morningman <[email protected]>
---
 .asf.yaml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 9e870a7..f652d27 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -29,5 +29,18 @@ github:
     squash:  true
     merge:   false
     rebase:  false
+  rulesets:
+    - name: Default branch protection
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+      restrict_deletion: true
+      restrict_force_push: true
+      required_linear_history: true
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+        dismiss_stale_reviews: true
+        require_last_push_approval: true
 notifications:
   pullrequests_status:  [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to