From 322a0fb48796f0c84b3cdf7f0b524559431f76c5 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:08:52 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 8cb32271ac..dffd6d072c 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,18 +1,18 @@ notifications: - commits: commits@juneau.apache.org - issues: dev@juneau.apache.org + commits: commits@juneau.apache.org + issues: dev@juneau.apache.org pullrequests: dev@juneau.apache.org jira_options: link label worklog - jobs: dev@juneau.apache.org - discussions: dev@juneau.apache.org + jobs: dev@juneau.apache.org + discussions: dev@juneau.apache.org # Configure staging website (safe testing) staging: - profile: ~ + profile: whoami: asf-staging publish: - whoami: asf-site + whoami: asf-site github: description: "Apache Juneau" @@ -44,3 +44,16 @@ github: issues: true projects: true discussions: true + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true