From 0e94dca32953739a2ac248addc4c7ec905bad2d2 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:33:42 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 7c7016c..1d448e6 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -8,23 +8,36 @@ github: features: issues: true + 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@openoffice.apache.org - issues: dev@openoffice.apache.org + commits: commits@openoffice.apache.org + issues: dev@openoffice.apache.org pullrequests: dev@openoffice.apache.org pelican: - notify: commits@openoffice.apache.org - autobuild: preview/* - target: asf-site - theme: theme/openoffice + notify: commits@openoffice.apache.org + autobuild: preview/* + target: asf-site + theme: theme/openoffice minimum_page_count: 10 - whoami: main + whoami: main staging: - profile: ~ + profile: whoami: asf-site autostage: preview/* publish: - whoami: asf-site + whoami: asf-site