You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by rk...@apache.org on 2024/03/04 16:16:57 UTC

(incubator-sdap-nexusproto) 01/01: Added ASF yaml - Branch protections - Branch auto-delete - Jira auto-linking

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

rkk pushed a commit to branch asf-yaml
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexusproto.git

commit 5260dd1fbd59d3dc038db25acbd9e4af14b4c80b
Author: rileykk <ri...@jpl.nasa.gov>
AuthorDate: Mon Mar 4 08:16:44 2024 -0800

    Added ASF yaml
    - Branch protections
    - Branch auto-delete
    - Jira auto-linking
---
 .asf.yaml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..035f24d
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,32 @@
+# 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:
+  autolink_jira: SDAP
+  protected_branches:
+    master:
+      strict: true # Require branches be up to date
+      required_pull_request_reviews:
+        dismiss_stale_reviews: true
+        require_code_owner_reviews: true
+        required_approving_review_count: 1
+    develop:
+      strict: true # Require branches be up to date
+      required_pull_request_reviews:
+        dismiss_stale_reviews: true
+        require_code_owner_reviews: true
+        required_approving_review_count: 1
+  del_branch_on_merge: true