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

hepin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 57f16368a Add github PR status checks
57f16368a is described below

commit 57f16368a2d4a3d1f91a0a123773bd38c5df874f
Author: Matthew de Detrich <[email protected]>
AuthorDate: Tue May 2 20:11:17 2023 +0200

    Add github PR status checks
---
 .asf.yaml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
index 383e8db64..9b98ed576 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -26,7 +26,18 @@ github:
     rebase:  true
 
   protected_branches:
-    main: { }
+    main:
+      required_status_checks:
+        # strict means "Require branches to be up to date before merging".
+        strict: false
+        # contexts are the names of checks that must pass
+        contexts:
+          - Code is formatted
+          - Check headers
+      required_pull_request_reviews:
+        dismiss_stale_reviews: false
+        require_code_owner_reviews: false
+        required_approving_review_count: 1
 
 notifications:
   commits:              [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to