From ab908f55dc54929b35b51a567f58bf8886823fed Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 13:50:26 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 78734a5c..48970709 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,10 +1,9 @@ notifications: - commits: commits@age.apache.org - pullrequests: commits@age.apache.org + commits: commits@age.apache.org + pullrequests: commits@age.apache.org github: - description: "Graph database optimized for fast analysis and real-time data processing. - It is provided as an extension to PostgreSQL." + description: "Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL." homepage: https://age.apache.org labels: - postgresql @@ -21,6 +20,19 @@ github: discussions: true enabled_merge_buttons: - squash: true - merge: false - rebase: true + squash: true + 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