From 49aa963c531fe892a6f96c8d39696b902df4adf2 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:22:03 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 00cedfcb..f5cd5682 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -21,9 +21,22 @@ github: description: >- Apache Casbin: an authorization library that supports access control models like ACL, RBAC, ABAC. homepage: https://casbin.apache.org/ - dependabot_alerts: true + dependabot_alerts: true dependabot_updates: 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@casbin.apache.org