From 95b491c94e31bb41506c8911e936ceec38ffd2e8 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 13:45:09 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index d07081cd..84ca3d40 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -17,11 +17,11 @@ # under the License. # notifications: - commits: commits@airavata.apache.org + commits: commits@airavata.apache.org # Send all issue emails (new, closed, comments) to issues@ - issues: issues@airavata.apache.org + issues: issues@airavata.apache.org # Send new/closed PR notifications to dev@ - pullrequests_status: issues@airavata.apache.org + pullrequests_status: issues@airavata.apache.org # Send individual PR comments/reviews to issues@ pullrequests_comment: issues@airavata.apache.org @@ -38,3 +38,16 @@ github: wiki: false issues: true projects: 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