From 0eb197f0fb4a309289c608a1780df35c7d2654fc Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Mon, 18 May 2026 23:04:26 -0500 Subject: [PATCH] chore(INFRA): Set up default protection ruleset for default and release branches (#351) --- .asf.yaml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 29a6c7c..61ee98d 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -16,7 +16,21 @@ # under the License. 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 +github: + rulesets: + - name: "Default Branch Protection" + type: branch + branches: + includes: + - "~DEFAULT_BRANCH" + - "release/*" + - "rel/*" + excludes: [] + bypass_teams: + - root + restrict_deletion: true + restrict_force_push: true