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

jgemignani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git


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

commit 62adf748cd3732c514f720f01cf881f9f50bc879
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Thu May 9 21:12:05 2024 +0500

    Add branch protection rules in .asf.yaml (#1854)
    
    - All the PRs sent to master and PGXX branches will now require atleast
      1  approving review.
---
 .asf.yaml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 847d8026..336e770e 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -43,3 +43,32 @@ github:
     squash:  true
     merge:   false
     rebase:  true
+
+  protected_branches:
+    master:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+ 
+    PG16:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+
+    PG15:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+
+    PG14:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+
+    PG13:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+
+    PG12:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
+
+    PG11:
+      required_pull_request_reviews:
+        required_approving_review_count: 1
\ No newline at end of file

Reply via email to