From 27627a67b3f824783dae7167bbcfca6aca0aaa8d Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:52:53 -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 6ed9448..7cc938c 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -23,4 +23,17 @@ github: homepage: https://hc.apache.org/ labels: - apache - - httpcomponents \ No newline at end of file + - httpcomponents + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true