You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ni...@apache.org on 2022/09/08 18:27:08 UTC

[pulsar] branch master updated: [ci] Enable required checks status for pulls to the master branch (#17553)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new f1df382d9d2 [ci] Enable required checks status for pulls to the master branch (#17553)
f1df382d9d2 is described below

commit f1df382d9d28aaa2aa1e2c042abd9f4c23d4b8be
Author: Nicolò Boschi <bo...@gmail.com>
AuthorDate: Thu Sep 8 20:27:00 2022 +0200

    [ci] Enable required checks status for pulls to the master branch (#17553)
---
 .asf.yaml | 58 +++++++++++++++-------------------------------------------
 1 file changed, 15 insertions(+), 43 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index a9ad899ee3d..f478c61fe3e 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -42,55 +42,27 @@ github:
     # disable rebase button:
     rebase:  false
   protected_branches:
-#    master:
-#      required_status_checks:
+    master:
+      required_status_checks:
         # strict means "Require branches to be up to date before merging".
-#        strict: false
+        strict: false
         # Contexts are the names of checks that must pass.
         # See ./github/workflows/README.md for more documentation on this list.
-#        contexts:
-#          - build
-#          - cpp-tests
-#          - Changed files check
-#          - Build and License check
-#          - CI - Unit - Brokers - Broker Group 1
-#          - CI - Unit - Brokers - Broker Group 2
-#          - CI - Unit - Brokers - Broker Group 3
-#          - CI - Unit - Brokers - Client Api
-#          - CI - Unit - Brokers - Client Impl
-#          - CI - Unit - Other
-#          - CI - Unit - Proxy
-#          - Build Pulsar java-test-image docker image
-#          - CI - Integration - Backwards Compatibility
-#          - CI - Integration - Cli
-#          - CI - Integration - Messaging
-#          - CI - Integration - Shade on Java 8
-#          - CI - Integration - Shade on Java 11
-#          - CI - Integration - Shade on Java 17
-#          - CI - Integration - Standalone
-#          - CI - Integration - Transaction
-#          - Build Pulsar docker image
-#          - CI - System - Function
-#          - CI - System - Pulsar Connectors - Process
-#          - CI - System - Pulsar Connectors - Thread
-#          - CI - System - Pulsar IO
-#          - CI - System - Schema
-#          - CI - System - Tiered FileSystem
-#          - CI - System - Tiered JCloud
-#          - CI - System - Sql
+        contexts:
+           - Pulsar CI checks completed
+           - cpp-tests
 
-#      required_pull_request_reviews:
-#        dismiss_stale_reviews: false
-#        require_code_owner_reviews: true
-#        required_approving_review_count: 1
-#
-#      # squash or rebase must be allowed in the repo for this setting to be set to true.
-#      required_linear_history: true
-#
-#      required_signatures: false
+      required_pull_request_reviews:
+        dismiss_stale_reviews: false
+        require_code_owner_reviews: true
+        required_approving_review_count: 1
+
+      # squash or rebase must be allowed in the repo for this setting to be set to true.
+      required_linear_history: true
+
+      required_signatures: false
 
     # The following branch protections only ensure that force pushes are not allowed
-    master: {}
     branch-1.15: {}
     branch-1.16: {}
     branch-1.17: {}