From f06377cf92fe4f5fd230d7500c191dcde6da362d Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 13:33:24 -0500 Subject: [PATCH 1/2] Set up default protection ruleset for default and release branches --- .asf.yaml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index a6b9be1e6..6946d9d30 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -20,8 +20,8 @@ # https://github.com/apache/infrastructure-asfyaml/blob/main/README.md notifications: - commits: commits@accumulo.apache.org - issues: notifications@accumulo.apache.org + commits: commits@accumulo.apache.org + issues: notifications@accumulo.apache.org pullrequests: notifications@accumulo.apache.org jira_options: worklog @@ -38,15 +38,28 @@ github: wiki: false issues: true projects: true - dependabot_alerts: true + dependabot_alerts: true dependabot_updates: false + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging publish: - whoami: asf-site + whoami: asf-site jekyll: whoami: main From 4b6e2163532b0cd9a1fcb1bf391259fae4b85366 Mon Sep 17 00:00:00 2001 From: Christopher Tubbs Date: Fri, 15 May 2026 20:19:07 -0400 Subject: [PATCH 2/2] Apply suggestion from @ctubbsii --- .asf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 6946d9d30..a88319657 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -55,7 +55,7 @@ github: restrict_deletion: true restrict_force_push: true staging: - profile: + profile: ~ whoami: asf-staging publish: