MCPcopy Create free account
hub / github.com/apache/tvm / run

Method run

ci/scripts/github/github_tvmbot.py:662–675  ·  view source on GitHub ↗
(pr: PR)

Source from the content-addressed store, hash-verified

660
661 @staticmethod
662 def run(pr: PR):
663 info = None
664 try:
665 info = pr.merge_if_passed_checks()
666 except Exception as e:
667 pr.comment_failure("Failed to process merge request", e)
668 raise e
669
670 if info is not None:
671 try:
672 pr.trigger_gha_ci(sha=info["sha"])
673 except Exception as e:
674 pr.comment_failure("Failed to trigger GitHub Actions", e)
675 raise e
676
677
678class Rerun:

Callers 2

run_subprocessFunction · 0.45
github_tvmbot.pyFile · 0.45

Calls 3

comment_failureMethod · 0.80
trigger_gha_ciMethod · 0.80

Tested by 1

run_subprocessFunction · 0.36