From 0d2127043ae76ff3cb411cd3fb256d88e9e06af3 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:17:35 -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 dbae1a500ee..11409f377f1 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -41,15 +41,28 @@ github: merge: false rebase: false + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true notifications: - commits: commits@cordova.apache.org - issues: issues@cordova.apache.org - pullrequests_status: issues@cordova.apache.org + commits: commits@cordova.apache.org + issues: issues@cordova.apache.org + pullrequests_status: issues@cordova.apache.org pullrequests_comment: issues@cordova.apache.org staging: - profile: ~ - whoami: asf-staging + profile: + whoami: asf-staging publish: - whoami: asf-site + whoami: asf-site