From f4e8ae3d6e1682f341feb3fd053c4130258f3b67 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:10:50 -0500 Subject: [PATCH] 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 b3d60b34f4..295ccbfe2a 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -15,10 +15,23 @@ # limitations under the License. # notifications: - commits: commits@knox.apache.org - issues: dev@knox.apache.org - pullrequests: dev@knox.apache.org - jira_options: link label worklog + commits: commits@knox.apache.org + issues: dev@knox.apache.org + pullrequests: dev@knox.apache.org + jira_options: link label worklog github: - ghp_branch: gh-pages - ghp_path: / + ghp_branch: gh-pages + ghp_path: / + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true