This is an automated email from the ASF dual-hosted git repository.

sebbASF pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-build-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c42368  Add branch protection rules to .asf.yaml
8c42368 is described below

commit 8c42368bb53a1bc891106d916ab9c34374661ed3
Author: Sebb <[email protected]>
AuthorDate: Sun Nov 8 17:00:07 2026 +0000

    Add branch protection rules to .asf.yaml
    
    This applies #422, but without changing the rest of the file
---
 .asf.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 869071d..a6ef3e5 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -18,6 +18,20 @@ github:
   homepage: https://commons.apache.org/build-plugin/
   autolink_jira:
     - COMMONSSITE
+
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true
   
   pull_requests:
     # allow auto-merge

Reply via email to