From 5acbe79cde313a02d80ab8341645ef621b05509a Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:24:44 -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 47d6a68..6e8dbe6 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -17,14 +17,27 @@ github: description: "Apache Daffodil SBT Plugin" homepage: https://daffodil.apache.org/ features: - wiki: true - issues: true + wiki: true + issues: true projects: false enabled_merge_buttons: - squash: false - merge: false - rebase: true + squash: false + merge: false + rebase: 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 notifications: - commits: commits@daffodil.apache.org - issues: commits@daffodil.apache.org - pullrequests: commits@daffodil.apache.org + commits: commits@daffodil.apache.org + issues: commits@daffodil.apache.org + pullrequests: commits@daffodil.apache.org