From 77b1f10494615650de5c8042988dbdd5e5a74977 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:25:10 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 4fd58604..47610332 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -7,19 +7,32 @@ github: - comdev - 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: notifications@community.apache.org + commits: commits@community.apache.org + issues: notifications@community.apache.org pullrequests: notifications@community.apache.org jira_options: link label # Maybe publish also needed: publish: - whoami: asf-site + whoami: asf-site # Test site in preview/test2; output to preview/test2-staging # autostage will publish the site at community-test2.staged.apache.org staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging autostage: preview/*