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

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


The following commit(s) were added to refs/heads/main by this push:
     new 1542286826 [ci] Add branch protections to .asf.yaml (#10964)
1542286826 is described below

commit 1542286826be64d4394685a795336c8705f986cd
Author: driazati <[email protected]>
AuthorDate: Mon Apr 18 11:16:55 2022 -0700

    [ci] Add branch protections to .asf.yaml (#10964)
    
    Moving these into the repo means we will be able to change them at-will.
    `tvm-ci/pr-merge` will change soon into `tvm-ci/pr-head` to fix an
    unrelated bug, but codifying it here means we can more easily coordinate
    the change.
    
    Co-authored-by: driazati <[email protected]>
---
 .asf.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index b0c203532b..647e71dd3f 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -49,3 +49,14 @@ github:
     - denise-k
     - driazati
     - tvm-bot  # For automated feedback in PR review.
+
+  # See 
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-Branchprotection
+  protected_branches:
+    main:
+      required_status_checks:
+        contexts:
+          # Require a passing run from Jenkins
+          - tvm-ci/pr-merge
+
+      required_pull_request_reviews:
+        required_approving_review_count: 1

Reply via email to