You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@attic.apache.org by se...@apache.org on 2026/09/17 08:41:40 UTC

(attic) branch main updated: Add default branch protection ruleset

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

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


The following commit(s) were added to refs/heads/main by this push:
     new f6a9070  Add default branch protection ruleset
f6a9070 is described below

commit f6a90704cca3e85469e8a92ea8397f2666307d22
Author: Sebb <se...@users.noreply.github.com>
AuthorDate: Thu Sep 17 09:41:36 2026 +0100

    Add default branch protection ruleset
    
    Added ruleset extracted from PR #42
    
    [skip ci]
---
 .asf.yaml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index e6bb93e..d4b028e 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -36,7 +36,19 @@ github:
   autolink_jira:
     - INFRA
     - ATTIC
-
+ 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@attic.apache.org
   pullrequests: general@attic.apache.org