You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2026/05/22 08:16:59 UTC

(opendal-reqsign) branch main updated: [INFRA] Set up default rulesets for default and release branches (#747)

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

Xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal-reqsign.git


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

commit 9aba16ea2c2766844aedf32c3e6a9701a08f6ec6
Author: The Apache Software Foundation <ro...@apache.org>
AuthorDate: Fri May 22 03:16:54 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#747)
    
    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:
    users@infra.apache.org
---
 .asf.yaml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 76fe636..308f2cf 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -44,6 +44,19 @@ github:
     edit_comment_discussion: "Re: {title}"
     delete_comment_discussion: "Re: {title}"
 
+  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@opendal.apache.org
   issues: commits@opendal.apache.org