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

Function make_ping_message

ci/scripts/github/ping_reviewers.py:177–187  ·  view source on GitHub ↗
(pr, reviewers)

Source from the content-addressed store, hash-verified

175
176
177def make_ping_message(pr, reviewers):
178 reviewers = [f"@{r}" for r in reviewers]
179 author = f"@{pr['author']['login']}"
180 text = (
181 "It has been a while since this PR was updated, "
182 + " ".join(reviewers)
183 + " please leave a review or address the outstanding comments. "
184 + f"{author} if this PR is still a work in progress, please [convert it to a draft](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft)"
185 " until it is ready for review."
186 )
187 return text
188
189
190if __name__ == "__main__":

Callers 1

ping_reviewers.pyFile · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…