You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celeborn.apache.org by ni...@apache.org on 2026/05/18 03:20:56 UTC

(celeborn) branch main updated: [INFRA] Set up default rulesets for default and release branches

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

SteNicholas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new f83350f49 [INFRA] Set up default rulesets for default and release branches
f83350f49 is described below

commit f83350f49b9c2e1456f196736da8275367dcc6ee
Author: The Apache Software Foundation <ro...@apache.org>
AuthorDate: Mon May 18 11:20:46 2026 +0800

    [INFRA] Set up default rulesets for default and release branches
    
    This Pull Request enables the repository to conform with the "sane default security settings" of the Apache Software Foundation by configuring a default branch ruleset that protects the default branch and any release branches.
    
    Note that `~DEFAULT_BRANCH` is a GitHub symbolic link to the current default branch (HEAD) of the repository and does not need changing.
    If the managing project does not wish to set up these defaults, please close this Pull Request. Alternatively, the project may merge this Pull Request to apply the changes immediately.
    
    If no action is taken, this Pull Request will be automatically merged by the Apache Infrastructure team on **2026-06-14** (30 days from now).
    
    For any further information, please reach us on Slack or at: usersinfra.apache.org
    
    Closes #3690 from asf-gitbox-commits/infrastructure-ruleset-bot/default-branch-protection.
    
    Authored-by: The Apache Software Foundation <ro...@apache.org>
    Signed-off-by: SteNicholas <pr...@163.com>
---
 .asf.yaml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index fea76eea6..0e0ec729b 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -28,13 +28,26 @@ github:
     squash: true
     merge: false
     rebase: false
-  protected_branches: ~
+  protected_branches:
   features:
     issues: true
     discussions: true
     wiki: false
     projects: false
   autolink_jira: CELEBORN
+  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: commits@celeborn.apache.org
   issues: issues@celeborn.apache.org