From 367cf5b4eb413709cbc9f7c2af252b0291e3d177 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 13:52:26 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 57 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 8758f2d2..a8cf31a5 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -16,28 +16,41 @@ # github: - description: the docker for Apache APISIX - homepage: https://apisix.apache.org/ - labels: - - docker - - api-gateway - - cloud-native - - microservices - - api - - reverse-proxy - - api-management - - loadbalancing - - serverless - - kubernetes - - apisix - - devops + description: the docker for Apache APISIX + homepage: https://apisix.apache.org/ + labels: + - docker + - api-gateway + - cloud-native + - microservices + - api + - reverse-proxy + - api-management + - loadbalancing + - serverless + - kubernetes + - apisix + - devops - enabled_merge_buttons: - squash: true - merge: false - rebase: 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 notifications: - commits: notifications@apisix.apache.org - issues: notifications@apisix.apache.org - pullrequests: notifications@apisix.apache.org + commits: notifications@apisix.apache.org + issues: notifications@apisix.apache.org + pullrequests: notifications@apisix.apache.org