From dcafa2dc68d7db399e8c63ade7bb48f7d377e69e Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:55:26 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 9f09a9f..81c8c0e 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -16,17 +16,30 @@ # github: - description: The Nginx Lua agent for Apache SkyWalking - homepage: https://skywalking.apache.org/ - labels: - - skywalking - - observability - - apm - - distributed-tracing - - nginx - - lua - - dapper - enabled_merge_buttons: - squash: true - merge: false - rebase: false + description: The Nginx Lua agent for Apache SkyWalking + homepage: https://skywalking.apache.org/ + labels: + - skywalking + - observability + - apm + - distributed-tracing + - nginx + - lua + - dapper + 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