From 5a2c1b8fa51759a7b08512fb81c9ec2c2ba8b165 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:21:39 -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 155f0c4..800670a 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,6 +1,6 @@ github: - description: "Apache ManifoldCF SDK is a Maven project focused on helping developers to extend ManifoldCF with new connectors and extensions" - homepage: https://manifoldcf.apache.org + description: "Apache ManifoldCF SDK is a Maven project focused on helping developers to extend ManifoldCF with new connectors and extensions" + homepage: https://manifoldcf.apache.org autolink_jira: - CONNECTORS custom_subjects: @@ -27,9 +27,22 @@ github: - migration - federation + 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@manifoldcf.apache.org - pullrequests: dev@manifoldcf.apache.org - issues: dev@manifoldcf.apache.org - discussions: dev@manifoldcf.apache.org + commits: commits@manifoldcf.apache.org + pullrequests: dev@manifoldcf.apache.org + issues: dev@manifoldcf.apache.org + discussions: dev@manifoldcf.apache.org pullrequests_bot_dependabot: dev@manifoldcf.apache.org