Skip to content

Commit a7d915d

Browse files
authored
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
1 parent d9c9d2b commit a7d915d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.asf.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@ github:
1717
protected_branches:
1818
main:
1919
# contexts are the names of checks that must pass.
20-
contexts:
21-
- build
20+
required_status_checks:
21+
contexts:
22+
- build
2223
required_pull_request_reviews:
2324
# it does not work because our github teams are private/secret, see INFRA-25666
2425
require_code_owner_reviews: false
2526
required_approving_review_count: 0
2627
release/struts-6-7-x:
2728
# contexts are the names of checks that must pass.
28-
contexts:
29-
- build
29+
required_status_checks:
30+
contexts:
31+
- build
3032
required_pull_request_reviews:
3133
# it does not work because our github teams are private/secret, see INFRA-25666
3234
require_code_owner_reviews: false

0 commit comments

Comments
 (0)