mirror of
https://github.com/apache/struts.git
synced 2026-08-05 22:56:59 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user