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

damccorm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/beam-starter-java-provider.git


The following commit(s) were added to refs/heads/main by this push:
     new ca2243b  [INFRA] Set up default rulesets for default and release 
branches (#20)
ca2243b is described below

commit ca2243b85a38a7adffb8e58bf7f2fe3f3fcfe39e
Author: The Apache Software Foundation <[email protected]>
AuthorDate: Mon May 18 09:02:39 2026 -0500

    [INFRA] Set up default rulesets for default and release branches (#20)
    
    * Set up default protection ruleset for default and release branches
    
    * Apply suggestion from @damccorm
    
    ---------
    
    Co-authored-by: Danny McCormick <[email protected]>
---
 .asf.yaml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..417e250
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,29 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+github:
+  rulesets:
+    - name: "Default Branch Protection"
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "release/*"
+          - "rel/*"
+        excludes: []
+      bypass_teams:
+        - root
+      restrict_deletion: true
+      restrict_force_push: true

Reply via email to