From 0769fc28f3c6f1df658d9bf673a8188305beb1b1 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 13:45:27 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index be7e826..7783ccb 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 @@ -42,10 +42,23 @@ github: 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 staging: - profile: ~ - whoami: asf-staging - - + profile: + whoami: asf-staging + + publish: - whoami: asf-site \ No newline at end of file + whoami: asf-site