From 64348c40f844a750d831f94514dbcd4d17c3e0fc Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:54:54 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 3b9f16e15..9f73baafc 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -17,4 +17,18 @@ # under the License. # publish: - whoami: master \ No newline at end of file + whoami: master +github: + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true