You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by dr...@apache.org on 2022/11/16 16:32:16 UTC

[tvm] branch main updated: [ci][tvmbot] Fix spelling error, metionable -> mentionable (#13276)

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

driazati 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 52739ef8cd [ci][tvmbot] Fix spelling error, metionable -> mentionable (#13276)
52739ef8cd is described below

commit 52739ef8cd4499b555453d7159991316afc44301
Author: Benson Muite <bk...@users.noreply.github.com>
AuthorDate: Wed Nov 16 19:32:09 2022 +0300

    [ci][tvmbot] Fix spelling error, metionable -> mentionable (#13276)
    
    In AUTH_CHECKS, "mentionable_users" was "metionable_users".
    This pull request fixes this spelling error.
---
 ci/scripts/github/github_tvmbot.py | 4 ++--
 tests/python/ci/test_tvmbot.py     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ci/scripts/github/github_tvmbot.py b/ci/scripts/github/github_tvmbot.py
index 908551bdec..8dc897367e 100755
--- a/ci/scripts/github/github_tvmbot.py
+++ b/ci/scripts/github/github_tvmbot.py
@@ -632,7 +632,7 @@ def check_mentionable_users(pr, triggering_comment, args):
 
 
 AUTH_CHECKS = {
-    "metionable_users": check_mentionable_users,
+    "mentionable_users": check_mentionable_users,
     "collaborators": check_collaborator,
     "author": check_author,
 }
@@ -676,7 +676,7 @@ class Rerun:
         "run ci",
     ]
 
-    auth = [AUTH_CHECKS["metionable_users"]]
+    auth = [AUTH_CHECKS["mentionable_users"]]
 
     @staticmethod
     def run(pr: PR):
diff --git a/tests/python/ci/test_tvmbot.py b/tests/python/ci/test_tvmbot.py
index de3ab9bb50..f0ed7786ac 100644
--- a/tests/python/ci/test_tvmbot.py
+++ b/tests/python/ci/test_tvmbot.py
@@ -253,7 +253,7 @@ class TestRerunPermissions(_TvmBotTest):
 
     COMMENT = "@tvm-bot rerun"
     USER = "someone"
-    EXPECTED = "Failed auth check 'metionable_users', quitting"
+    EXPECTED = "Failed auth check 'mentionable_users', quitting"
 
 
 class TestRerunNonAuthor(_TvmBotTest):
@@ -263,7 +263,7 @@ class TestRerunNonAuthor(_TvmBotTest):
 
     COMMENT = "@tvm-bot rerun"
     USER = "other-abc"
-    EXPECTED = "Passed auth check 'metionable_users', continuing"
+    EXPECTED = "Passed auth check 'mentionable_users', continuing"
 
 
 class TestIgnoreJobs(_TvmBotTest):