From a7d915d6279c142b80dd28244fbc99e205c35464 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Thu, 8 May 2025 06:52:33 +0200 Subject: [PATCH] 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