From def84233ee7e003d0b55b37e9a0b73b89a6c49d0 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:34:54 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 038cd999..609af766 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -15,5 +15,18 @@ # specific language governing permissions and limitations # under the License. github: - dependabot_alerts: false + dependabot_alerts: false dependabot_updates: false + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true