From a30c23cdef52c1e83301f75289f0e8126ac595f1 Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Tue, 30 Sep 2025 17:44:58 +0200 Subject: [PATCH 1/3] Enable branch and tag protection. --- .asf.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 48083930a50d..4733cfad7b1a 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -22,6 +22,16 @@ github: issues: true projects: false +protected_branches: + main: {} + branch_10x: {} + branch_9x: {} + + protected_tags: + - "releases/*" + - "history/*" + - "grafts/*" + notifications: commits: commits@lucene.apache.org issues: issues@lucene.apache.org From 315d8465f56ebd248977edbe5112eaa8bd2994d9 Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Tue, 30 Sep 2025 17:57:08 +0200 Subject: [PATCH 2/3] Fix yaml indent. --- .asf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 4733cfad7b1a..1a531acc9076 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -22,7 +22,7 @@ github: issues: true projects: false -protected_branches: + protected_branches: main: {} branch_10x: {} branch_9x: {} From 0aec607a1888c9e2e1bc519288589223bc7d408a Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Tue, 30 Sep 2025 17:59:34 +0200 Subject: [PATCH 3/3] Add globbed branch protection, including a test_* glob for testing. --- .asf.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.asf.yaml b/.asf.yaml index 1a531acc9076..6aa08d860dd6 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -26,6 +26,8 @@ github: main: {} branch_10x: {} branch_9x: {} + "branch_*": {} + "test_*": {} protected_tags: - "releases/*"