From 28d462ba5c02da53fdef78e52aaab564a5d53f44 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:55:13 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 45 +++++++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 7495bfd..c911c03 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -16,19 +16,32 @@ # github: - description: The integration test tool for Apache SkyWalking, including Mock OAP server and trace validator. - homepage: https://skywalking.apache.org/ - labels: - - skywalking - - observability - - apm - - distributed-tracing - - nginx - - lua - - dapper - - test - dependabot_updates: false - enabled_merge_buttons: - squash: true - merge: false - rebase: false + description: The integration test tool for Apache SkyWalking, including Mock OAP server and trace validator. + homepage: https://skywalking.apache.org/ + labels: + - skywalking + - observability + - apm + - distributed-tracing + - nginx + - lua + - dapper + - test + dependabot_updates: false + enabled_merge_buttons: + 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