From 303d2ecd8d8f9254143381120b68d9e102473c91 Mon Sep 17 00:00:00 2001 From: The Apache Software Foundation Date: Fri, 15 May 2026 17:40:35 -0500 Subject: [PATCH] Set up default protection ruleset for default and release branches --- .asf.yaml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index 45ea3a63..fdf58816 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -23,7 +23,7 @@ github: description: PLC4X The Industrial IoT adapter homepage: https://plc4x.apache.org/ - dependabot_alerts: true + dependabot_alerts: true dependabot_updates: false labels: @@ -65,10 +65,23 @@ github: edit_comment_discussion: "Re: [D] {title}" delete_comment_discussion: "Re: [D] {title}" + 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@plc4x.apache.org - issues: issues@plc4x.apache.org - discussions: dev@plc4x.apache.org - pullrequests_status: commits@plc4x.apache.org + commits: commits@plc4x.apache.org + issues: issues@plc4x.apache.org + discussions: dev@plc4x.apache.org + pullrequests_status: commits@plc4x.apache.org pullrequests_comment: commits@plc4x.apache.org pullrequests_bot_dependabot: commits@plc4x.apache.org