From e209997632e4c5adc016e75de83960b98acbeb6f Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:06:48 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 7c1075e69dc98..0dd7cb8b618b9 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -34,11 +34,11 @@ github: discussions: true enabled_merge_buttons: # enable squash button: - squash: true + squash: true # enable merge button: - merge: false + merge: false # disable rebase button: - rebase: true + rebase: true collaborators: - shuwenwei - liyuheng55555 @@ -49,5 +49,18 @@ github: - Wei-hao-Li - Colinleeo - Caideyipi + 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: discussions: dev@iotdb.apache.org