(pr_head: dict[str, Any])
| 155 | |
| 156 | |
| 157 | def find_target_url(pr_head: dict[str, Any]): |
| 158 | for status in pr_head["statusCheckRollup"]["contexts"]["nodes"]: |
| 159 | if status.get("context", "") == "tvm-ci/pr-head": |
| 160 | return status["targetUrl"] |
| 161 | |
| 162 | raise RuntimeError(f"Unable to find tvm-ci/pr-head status in {pr_head}") |
| 163 | |
| 164 | |
| 165 | def get_skipped_tests_comment( |
no test coverage detected
searching dependent graphs…