From 3acdd85014a4739f1361f611e87f5dc3d99e4319 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:24:46 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index b552fd6..9fd7918 100755 --- a/.asf.yaml +++ b/.asf.yaml @@ -10,9 +10,22 @@ github: - events - hugo + 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: - commits: commits@community.apache.org - issues: dev@community.apache.org + commits: commits@community.apache.org + issues: dev@community.apache.org pullrequests: dev@community.apache.org # Looks like this may be needed to override the default host name @@ -23,6 +36,6 @@ publish: # Test site in preview/sample; output to preview/sample-staging # autostage will publish the site at community-sample.staged.apache.org staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging autostage: preview/*