From d90f607e77b455dd04f0daa22c12a0611533ffbe Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:07:53 -0500 Subject: [PATCH 1/2] Set up default protection ruleset for default and release branches --- .asf.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .asf.yaml diff --git a/.asf.yaml b/.asf.yaml new file mode 100644 index 0000000..ab59476 --- /dev/null +++ b/.asf.yaml @@ -0,0 +1,14 @@ +github: + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true From ad4dd885cfb6048e9c14d70cf4e382c2416451e9 Mon Sep 17 00:00:00 2001 From: James Fredley Date: Thu, 28 May 2026 23:04:27 -0400 Subject: [PATCH 2/2] [INFRA] Use Grails *.x version branch pattern for branch protection Replace the generic release/* and rel/* include patterns (which match no branches in Grails repositories) with *.x, the naming convention Grails uses for maintenance/version branches (e.g. 7.0.x, 8.0.x). Assisted-by: claude-code:claude-4.8-opus --- .asf.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index ab59476..9b45c49 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -5,8 +5,7 @@ github: branches: includes: - "~DEFAULT_BRANCH" - - "release/*" - - "rel/*" + - "*.x" excludes: [] bypass_teams: - root