From 5db2818e945558f1bab2974126c63c3caa6efc32 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:55:33 -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 8402555..5da4392 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -23,11 +23,24 @@ github: - terraform - ansible enabled_merge_buttons: - squash: true - merge: false - rebase: false + squash: true + merge: false + rebase: 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 notifications: - commits: commits@skywalking.apache.org - issues: commits@skywalking.apache.org + commits: commits@skywalking.apache.org + issues: commits@skywalking.apache.org pullrequests: commits@skywalking.apache.org