This is an automated email from the ASF dual-hosted git repository.
tvb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/buildstream.git
The following commit(s) were added to refs/heads/master by this push:
new 459fcd4 .asf.yaml: Testing protected branches with dictionary
459fcd4 is described below
commit 459fcd4b08f6be7af005b4646f52fcae6738d232
Author: Tristan van Berkom <[email protected]>
AuthorDate: Sun Jan 10 17:11:45 2021 +0900
.asf.yaml: Testing protected branches with dictionary
These tests can only be run by modifying the master branch.
---
.asf.yaml | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 3e5040d..a70c6cc 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -30,5 +30,27 @@ github:
# this needs to be tested on the master branch.
#
protected_branches:
- - tristan/test-protected-branch-1
- - tristan/test-protected-branch-2
+
+ # Test 1
+ #
+ tristan/test-protected-branch-1:
+ required_status_checks:
+ # strict means "Require branches to be up to date before merging".
+ strict: true
+
+ required_pull_request_reviews:
+ dismiss_stale_reviews: false
+ require_code_owner_reviews: false
+ required_approving_review_count: 1
+
+ # Test 2
+ #
+ tristan/test-protected-branch-2:
+ required_status_checks:
+ # strict means "Require branches to be up to date before merging".
+ strict: true
+
+ required_pull_request_reviews:
+ dismiss_stale_reviews: false
+ require_code_owner_reviews: false
+ required_approving_review_count: 1