MCPcopy Create free account
hub / github.com/alibaba/open-code-review / ckComment

Function ckComment

scripts/github-actions/post-review-comments.test.js:3998–4006  ·  view source on GitHub ↗
({ payload, login = "github-actions[bot]", body } = {})

Source from the content-addressed store, hash-verified

3996
3997// A sticky summary comment carrying (or not carrying) a checkpoint marker.
3998function ckComment({ payload, login = "github-actions[bot]", body } = {}) {
3999 const tail = body != null ? body : payload ? buildCheckpointMarker(payload) : "";
4000 return {
4001 id: 1,
4002 html_url: "http://ex/1",
4003 user: { login },
4004 body: `${SUMMARY_MARKER}\nSummary prose\n\n${tail}`,
4005 };
4006}
4007
4008function ckGithub({ comments, login = "github-actions[bot]", listThrows = false, authThrows = false } = {}) {
4009 return {

Calls 1

buildCheckpointMarkerFunction · 0.85

Tested by

no test coverage detected