From 5cf0f76e390221fb496f59fff69383d2c4c81bfd Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 18:10:22 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index a6d96b20c8..46ad69c79a 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,6 +1,20 @@ notifications: - commits: commits@whimsical.apache.org - issues: dev@whimsical.apache.org - pullrequests: dev@whimsical.apache.org - jobs: notifications@whimsical.apache.org - jira_options: link label + commits: commits@whimsical.apache.org + issues: dev@whimsical.apache.org + pullrequests: dev@whimsical.apache.org + jobs: notifications@whimsical.apache.org + jira_options: link label +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