From 9ce46016363a1a4395599b6092686a8fb14cb102 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:41:01 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 9ad8a4f..1e56192 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,5 +1,3 @@ -# https://github.com/apache/infrastructure-asfyaml/blob/main/README.md ---- github: description: "Web site for Apache Data Privacy" homepage: https://privacy.apache.org/ @@ -8,6 +6,19 @@ github: - privacy - website - jekyll + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true jekyll: whoami: main target: asf-site @@ -15,6 +26,6 @@ publish: whoami: asf-site notifications: commits: privacy-commits@apache.org - issues: privacy-commits@apache.org + issues: privacy-commits@apache.org pullrequests: privacy-commits@apache.org