From d01e3002a1c8007a11f183db2ce9d30e6fcc0526 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 16:07:40 -0500 Subject: [PATCH 1/2] Set up default protection ruleset for default and release branches --- .asf.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 395c07b4e59..6b35f693192 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -64,6 +64,19 @@ github: wait_timer: 0 description: "Grails - the Web Application Framework" homepage: https://grails.apache.org/ + 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: # GitHub related commits: commits@grails.apache.org From 4f2953b0971554c91b23b863e1f2207c3ca6ec77 Mon Sep 17 00:00:00 2001 From: James Fredley Date: Thu, 28 May 2026 23:04:21 -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 6b35f693192..cb6957234d6 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -70,8 +70,7 @@ github: branches: includes: - "~DEFAULT_BRANCH" - - "release/*" - - "rel/*" + - "*.x" excludes: [] bypass_teams: - root