Mousius commented on code in PR #11569:
URL: https://github.com/apache/tvm/pull/11569#discussion_r895013525


##########
tests/scripts/github_tvmbot.py:
##########
@@ -417,11 +435,16 @@ def author(self) -> str:
         return self.raw["author"]["login"]
 
     def find_failed_ci_jobs(self) -> List[CIJob]:
-        # NEUTRAL is GitHub Action's way of saying cancelled
+        def is_important_job(job):
+            # Ignore GitHub workflows that operate on PRs but don't run tests
+            if job["source"] != "github actions":
+                return True
+            return job["name"].startswith("CI /")

Review Comment:
   I might be missing the obvious here, but can you explain how this is tested 
@driazati ? I've looked through all the fixtures and can't see the string `CI 
/`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to