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

lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/main by this push:
     new a7d915d62 Adjusts required checks to the new structure (#1264)
a7d915d62 is described below

commit a7d915d6279c142b80dd28244fbc99e205c35464
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Thu May 8 06:52:33 2025 +0200

    Adjusts required checks to the new structure (#1264)
    
    more details can be found here 
https://github.com/apache/infrastructure-asfyaml/blob/main/README.md#branch-protection
---
 .asf.yaml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 6bcfc98d7..cf3c0ff27 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -17,16 +17,18 @@ github:
   protected_branches:
     main:
       # contexts are the names of checks that must pass.
-      contexts:
-        - build
+      required_status_checks:
+        contexts:
+          - build
       required_pull_request_reviews:
         # it does not work because our github teams are private/secret, see 
INFRA-25666
         require_code_owner_reviews: false
         required_approving_review_count: 0
     release/struts-6-7-x:
       # contexts are the names of checks that must pass.
-      contexts:
-        - build
+      required_status_checks:
+        contexts:
+          - build
       required_pull_request_reviews:
         # it does not work because our github teams are private/secret, see 
INFRA-25666
         require_code_owner_reviews: false

Reply via email to