From 545b6bd476103c0128052cc14a99b863e1bac553 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 14:01:47 -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 46ef73c..00c9425 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -33,6 +33,19 @@ github: # * https://infra.apache.org/project-site.html # * https://infra.apache.org/asf-pelican-gettingstarted.html # + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true pelican: notify: commits@buildstream.apache.org autobuild: preview/* @@ -43,6 +56,6 @@ pelican: # Staging website # staging: - profile: ~ + profile: whoami: staging autostage: preview/*