From b763cf62164f9c8122a062892cd6fc3e8b766d3a Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 15:24:56 -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 5ffa7e613..f3c520ee4 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -17,19 +17,32 @@ github: description: "Apache Daffodilâ„¢ Extension for Visual Studio Code" homepage: https://daffodil.apache.org/ features: - wiki: true - issues: true + wiki: true + issues: true projects: true enabled_merge_buttons: - squash: false - merge: false - rebase: true + squash: false + merge: false + rebase: true collaborators: - hdalsania - lrbarber - naga-panchumarty - adedoyinNteligen + 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